Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 105.5 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 191.1 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7169/0.7169, allocations: 115.3 MB / 406.1 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 68.08 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4445, allocations: 76.18 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003578/0.4481, allocations: 1.549 MB / 0.5575 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003777/0.4485, allocations: 139.8 kB / 0.5577 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.4486, allocations: 1.375 kB / 0.5577 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.4486, allocations: 7.375 kB / 0.5577 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.716e-05/0.4487, allocations: 5.078 kB / 0.5577 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.449, allocations: 56.36 kB / 0.5577 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.4492, allocations: 58 kB / 0.5578 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4493, allocations: 18.23 kB / 0.5578 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.4494, allocations: 24.67 kB / 0.5578 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.4494, allocations: 28.09 kB / 0.5578 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.4495, allocations: 4.062 kB / 0.5579 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.4495, allocations: 7.156 kB / 0.5579 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.4495, allocations: 12.66 kB / 0.5579 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.4496, allocations: 27.02 kB / 0.5579 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.4497, allocations: 57.59 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4497, allocations: 0 / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4497, allocations: 1.781 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4497, allocations: 0.5156 kB / 0.558 GB, free: 35.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000491/0.4502, allocations: 368.9 kB / 0.5583 GB, free: 34.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4503, allocations: 8.531 kB / 0.5583 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.4503, allocations: 38.31 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.4504, allocations: 7.562 kB / 0.5584 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.4505, allocations: 176.8 kB / 0.5585 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.4506, allocations: 31.55 kB / 0.5586 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4506, allocations: 2.688 kB / 0.5586 GB, free: 34.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.4508, allocations: 82.19 kB / 0.5586 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.4508, allocations: 0.625 kB / 0.5586 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.4508, allocations: 1.094 kB / 0.5586 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4508, allocations: 3.797 kB / 0.5586 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.451, allocations: 44.05 kB / 0.5587 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.4516, allocations: 323.4 kB / 0.559 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4518, allocations: 49.23 kB / 0.559 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4519, allocations: 32.66 kB / 0.5591 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.452, allocations: 0.75 kB / 0.5591 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.452, allocations: 31.66 kB / 0.5591 GB, free: 33.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.452, allocations: 1.125 kB / 0.5591 GB, free: 33.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.000391/0.4524, allocations: 104.5 kB / 0.5592 GB, free: 33.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4524, allocations: 53.53 kB / 0.5593 GB, free: 33.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.4525, allocations: 114.5 kB / 0.5594 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4526, allocations: 27.2 kB / 0.5594 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.4526, allocations: 91.41 kB / 0.5595 GB, free: 33.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.4526, allocations: 14.56 kB / 0.5595 GB, free: 33.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.4527, allocations: 18.95 kB / 0.5595 GB, free: 33.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.4528, allocations: 317.5 kB / 0.5598 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-05/0.4529, allocations: 25.58 kB / 0.5598 GB, free: 33.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.453, allocations: 40.03 kB / 0.5599 GB, free: 33.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.4532, allocations: 57.14 kB / 0.5599 GB, free: 33.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4532, allocations: 2.125 kB / 0.5599 GB, free: 33.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002279/0.4534, allocations: 88.48 kB / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4534, allocations: 5.062 kB / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4535, allocations: 0 / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4535, allocations: 3.766 kB / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.4536, allocations: 13.23 kB / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4536, allocations: 0.9062 kB / 0.56 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.4537, allocations: 11.23 kB / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.4537, allocations: 2.406 kB / 0.56 GB, free: 33.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/0.4538, allocations: 120.4 kB / 0.5602 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.4538, allocations: 2.359 kB / 0.5602 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.4538, allocations: 9.797 kB / 0.5602 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4538, allocations: 1.703 kB / 0.5602 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4538, allocations: 0 / 0.5602 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4538, allocations: 0.5625 kB / 0.5602 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.454, allocations: 180 kB / 0.5603 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.454, allocations: 2.078 kB / 0.5603 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.4541, allocations: 11.48 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4541, allocations: 1 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4541, allocations: 2.156 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4541, allocations: 4.938 kB / 0.5604 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4541, allocations: 5.141 kB / 0.5604 GB, free: 32.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4544, allocations: 179.5 kB / 0.5605 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.4544, allocations: 80.67 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.4544, allocations: 1.375 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.4546, allocations: 12.16 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.4546, allocations: 3.156 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.4546, allocations: 3.391 kB / 0.5606 GB, free: 32.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.372e-05/0.4547, allocations: 88.88 kB / 0.5607 GB, free: 32.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4547, allocations: 1.031 kB / 0.5607 GB, free: 32.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000215/0.4549, allocations: 7.281 kB / 0.5607 GB, free: 32.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004276/0.4553, allocations: 0.7173 MB / 0.5614 GB, free: 31.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.4555, allocations: 51.16 kB / 0.5615 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4556, allocations: 3.938 kB / 0.5615 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.094e-05/0.4556, allocations: 30.02 kB / 0.5615 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.456, allocations: 11.52 kB / 0.5615 GB, free: 31.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.4572, allocations: 1.346 MB / 0.5628 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.4574, allocations: 0.6829 MB / 0.5635 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.4574, allocations: 6.641 kB / 0.5635 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.4575, allocations: 14.45 kB / 0.5635 GB, free: 29.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4575, allocations: 4.156 kB / 0.5635 GB, free: 29.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.4689, allocations: 1.607 MB / 0.5651 GB, free: 29.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.469, allocations: 214 kB / 0.5653 GB, free: 29.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.292, allocations: 0 / 0.5653 GB, free: 29.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)