Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",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.000662/0.000662, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007021/0.0007022, allocations: 172.1 kB / 16.58 MB, free: 5.938 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.177/1.177, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6139/0.6139, allocations: 113.7 MB / 405.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002769, allocations: 12.22 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1219, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001281/0.1232, allocations: 1.188 MB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009439/0.1242, allocations: 0.7569 MB / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1242, allocations: 3.938 kB / 0.5588 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.329e-05/0.1243, allocations: 3.938 kB / 0.5588 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.903e-05/0.1243, allocations: 7.922 kB / 0.5588 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1246, allocations: 111.6 kB / 0.5589 GB, free: 9.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.1247, allocations: 43.8 kB / 0.559 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.991e-05/0.1248, allocations: 15.98 kB / 0.559 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.1248, allocations: 23.86 kB / 0.559 GB, free: 9.496 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.1249, allocations: 19.91 kB / 0.559 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.1249, allocations: 4 kB / 0.559 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.1251, allocations: 163.7 kB / 0.5592 GB, free: 9.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1252, allocations: 3.984 kB / 0.5592 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.1252, allocations: 41.64 kB / 0.5592 GB, free: 9.262 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.1253, allocations: 104 kB / 0.5593 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1254, allocations: 0 / 0.5593 GB, free: 9.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1254, allocations: 4 kB / 0.5593 GB, free: 9.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.1254, allocations: 0 / 0.5593 GB, free: 9.156 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004371/0.1258, allocations: 399.2 kB / 0.5597 GB, free: 8.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1259, allocations: 8.031 kB / 0.5597 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.1259, allocations: 34.56 kB / 0.5597 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1259, allocations: 7.906 kB / 0.5597 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/0.126, allocations: 167.1 kB / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.126, allocations: 0 / 0.5599 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.1261, allocations: 7.953 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.1263, allocations: 85.59 kB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.1263, allocations: 0 / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1263, allocations: 0 / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1263, allocations: 7.938 kB / 0.56 GB, free: 8.352 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.1266, allocations: 91.92 kB / 0.5601 GB, free: 8.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.1269, allocations: 284.7 kB / 0.5604 GB, free: 7.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.127, allocations: 74.47 kB / 0.5604 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.1272, allocations: 52.92 kB / 0.5605 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.1273, allocations: 89.09 kB / 0.5606 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1273, allocations: 30.56 kB / 0.5606 GB, free: 7.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1274, allocations: 0 / 0.5606 GB, free: 7.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004467/0.1278, allocations: 177.4 kB / 0.5608 GB, free: 7.473 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.1278, allocations: 51.41 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.1279, allocations: 111.7 kB / 0.5609 GB, free: 7.293 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1279, allocations: 33.69 kB / 0.561 GB, free: 7.254 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.128, allocations: 92.08 kB / 0.561 GB, free: 7.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.128, allocations: 3.906 kB / 0.561 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.128, allocations: 0 / 0.561 GB, free: 7.156 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.1281, allocations: 330.8 kB / 0.5614 GB, free: 6.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1282, allocations: 35.97 kB / 0.5614 GB, free: 6.789 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1283, allocations: 43.97 kB / 0.5614 GB, free: 6.746 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1285, allocations: 43.95 kB / 0.5615 GB, free: 6.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1285, allocations: 0 / 0.5615 GB, free: 6.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002653/0.1287, allocations: 121.8 kB / 0.5616 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.1288, allocations: 8 kB / 0.5616 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1288, allocations: 4.047 kB / 0.5616 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1288, allocations: 3.984 kB / 0.5616 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.1289, allocations: 27.91 kB / 0.5616 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1289, allocations: 3.984 kB / 0.5616 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.129, allocations: 19.98 kB / 0.5617 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.129, allocations: 0 / 0.5617 GB, free: 6.512 MB / 430.1 MB 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.1291, allocations: 118.5 kB / 0.5618 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1291, allocations: 0 / 0.5618 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.1294, allocations: 133.4 kB / 0.5619 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1294, allocations: 0 / 0.5619 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1294, allocations: 0 / 0.5619 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1294, allocations: 3.938 kB / 0.5619 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.1296, allocations: 173.6 kB / 0.5621 GB, free: 6.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1296, allocations: 4 kB / 0.5621 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.1297, allocations: 23.92 kB / 0.5621 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1297, allocations: 7.984 kB / 0.5621 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1297, allocations: 0 / 0.5621 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1297, allocations: 0 / 0.5621 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1297, allocations: 0 / 0.5621 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.13, allocations: 215.5 kB / 0.5623 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.13, allocations: 96.91 kB / 0.5624 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1301, allocations: 0 / 0.5624 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.1302, allocations: 19.97 kB / 0.5624 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.1302, allocations: 0 / 0.5624 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1302, allocations: 0 / 0.5624 GB, free: 5.629 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.1303, allocations: 98.88 kB / 0.5625 GB, free: 5.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1303, allocations: 0 / 0.5625 GB, free: 5.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.1306, allocations: 28 kB / 0.5625 GB, free: 5.508 MB / 430.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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005834/0.1312, allocations: 0.795 MB / 0.5633 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.1315, allocations: 87.92 kB / 0.5634 GB, free: 4.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1315, allocations: 7.938 kB / 0.5634 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1317, allocations: 47.91 kB / 0.5635 GB, free: 4.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1319, allocations: 11.98 kB / 0.5635 GB, free: 4.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.1328, allocations: 0.5704 MB / 0.564 GB, free: 3.918 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.133, allocations: 0.6848 MB / 0.5647 GB, free: 3.207 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.133, allocations: 8 kB / 0.5647 GB, free: 3.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1331, allocations: 11.44 kB / 0.5647 GB, free: 3.188 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1331, allocations: 0 / 0.5647 GB, free: 3.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01071/0.1438, allocations: 2.076 MB / 0.5667 GB, free: 1.258 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.144, allocations: 189.1 kB / 0.5669 GB, free: 1.016 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.448/1.592, allocations: 0 / 0.5669 GB, free: 1.016 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) Environment - environmentSimulation: