Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001755/0.001755, allocations: 106.5 kB / 16.27 MB, free: 5.93 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.001856/0.001856, allocations: 189.7 kB / 17.2 MB, free: 5.574 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.611/1.611, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7502/0.7502, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4642, allocations: 77.91 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003852/0.4681, allocations: 1.625 MB / 0.5689 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1805/0.6486, allocations: 151.6 MB / 0.7169 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.6489, allocations: 4 kB / 0.7169 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.6492, allocations: 15.8 kB / 0.7169 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.6495, allocations: 43.72 kB / 0.7169 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.6501, allocations: 143.4 kB / 0.7171 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.6504, allocations: 123.6 kB / 0.7172 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.6505, allocations: 27.64 kB / 0.7172 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.6518, allocations: 176.1 kB / 0.7174 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.6519, allocations: 39.84 kB / 0.7174 GB, free: 484 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.652, allocations: 15.94 kB / 0.7174 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.6525, allocations: 179.7 kB / 0.7176 GB, free: 288 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.6526, allocations: 19.92 kB / 0.7176 GB, free: 268 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.6526, allocations: 39.8 kB / 0.7177 GB, free: 228 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.6532, allocations: 199.3 kB / 0.7178 GB, free: 28 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6532, allocations: 0 / 0.7178 GB, free: 28 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6532, allocations: 0 / 0.7178 GB, free: 28 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.6533, allocations: 0 / 0.7178 GB, free: 28 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007265/0.654, allocations: 450.9 kB / 0.7183 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.654, allocations: 8.625 kB / 0.7183 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.6541, allocations: 38.75 kB / 0.7183 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009855/0.6551, allocations: 79.75 kB / 0.7184 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.6553, allocations: 206.7 kB / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.6554, allocations: 4 kB / 0.7186 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.6554, allocations: 8 kB / 0.7186 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.6558, allocations: 144.2 kB / 0.7187 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6559, allocations: 0 / 0.7187 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.6559, allocations: 15.94 kB / 0.7188 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6559, allocations: 0 / 0.7188 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005512/0.6565, allocations: 131.9 kB / 0.7189 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.6574, allocations: 416.3 kB / 0.7193 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.6582, allocations: 255.7 kB / 0.7195 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.6584, allocations: 80.8 kB / 0.7196 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.6585, allocations: 0 / 0.7196 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6585, allocations: 34.5 kB / 0.7196 GB, free: 14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.6585, allocations: 0 / 0.7196 GB, free: 14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008414/0.6594, allocations: 213.4 kB / 0.7198 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.6594, allocations: 51.41 kB / 0.7199 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.6596, allocations: 152.9 kB / 0.72 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6596, allocations: 25.7 kB / 0.7201 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.6597, allocations: 100.1 kB / 0.7202 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.6597, allocations: 35.67 kB / 0.7202 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.6598, allocations: 25.7 kB / 0.7202 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6599, allocations: 326.8 kB / 0.7205 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.6601, allocations: 51.95 kB / 0.7206 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.6604, allocations: 82.45 kB / 0.7207 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.6608, allocations: 116.8 kB / 0.7208 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6608, allocations: 4.031 kB / 0.7208 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004977/0.6613, allocations: 157.4 kB / 0.7209 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6613, allocations: 4 kB / 0.7209 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6614, allocations: 0 / 0.7209 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.6614, allocations: 0 / 0.7209 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.6616, allocations: 35.95 kB / 0.721 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6616, allocations: 3.938 kB / 0.721 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.6618, allocations: 19.89 kB / 0.721 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.6618, allocations: 3.938 kB / 0.721 GB, free: 12.55 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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 0.000123/0.6619, allocations: 125.8 kB / 0.7211 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/0.662, allocations: 7.906 kB / 0.7211 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.6621, allocations: 20.72 kB / 0.7211 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6621, allocations: 0 / 0.7211 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6621, allocations: 4 kB / 0.7211 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6621, allocations: 0 / 0.7211 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.663, allocations: 462.3 kB / 0.7216 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.663, allocations: 3.938 kB / 0.7216 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.6632, allocations: 23.97 kB / 0.7216 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.6632, allocations: 4 kB / 0.7216 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.6633, allocations: 3.984 kB / 0.7216 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.6633, allocations: 4.562 kB / 0.7216 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6633, allocations: 0 / 0.7216 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.6638, allocations: 267.3 kB / 0.7219 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.6639, allocations: 85.02 kB / 0.722 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.6639, allocations: 0 / 0.722 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.6641, allocations: 23.92 kB / 0.722 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.6642, allocations: 7.984 kB / 0.722 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.6642, allocations: 4 kB / 0.722 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.6643, allocations: 116.4 kB / 0.7221 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6643, allocations: 0 / 0.7221 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002837/0.6646, allocations: 28 kB / 0.7221 GB, free: 11.29 MB / 0.5606 GB 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 (8): * Single equations (assignments): 8 * 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.0009724/0.6656, allocations: 0.802 MB / 0.7229 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005517/0.6662, allocations: 135.8 kB / 0.723 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6662, allocations: 0 / 0.723 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.6664, allocations: 67.94 kB / 0.7231 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.6668, allocations: 39.98 kB / 0.7231 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.6696, allocations: 1.724 MB / 0.7248 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.67, allocations: 0.6963 MB / 0.7255 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000167/0.6702, allocations: 36.84 kB / 0.7255 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.6703, allocations: 31.42 kB / 0.7256 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6703, allocations: 0 / 0.7256 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.6916, allocations: 3.325 MB / 0.7288 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.567/8.258, allocations: 3.938 kB / 0.7288 GB, free: 4.445 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)