Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_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.000718/0.000718, allocations: 92.78 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.0007436/0.0007437, allocations: 172.2 kB / 16.58 MB, free: 5.93 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.178/1.178, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6051/0.6051, allocations: 113.7 MB / 405.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 12.84 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 77.12 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001072/0.1239, allocations: 0.9784 MB / 0.5579 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.1249, allocations: 0.7784 MB / 0.5586 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.542e-05/0.125, allocations: 0 / 0.5586 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.125, allocations: 0 / 0.5586 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.125, allocations: 11.92 kB / 0.5586 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1254, allocations: 103.6 kB / 0.5587 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.1254, allocations: 27.86 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.973e-05/0.1255, allocations: 0 / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.143e-05/0.1255, allocations: 11.98 kB / 0.5588 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.1255, allocations: 15.92 kB / 0.5588 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.1256, allocations: 0 / 0.5588 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.1258, allocations: 167.7 kB / 0.5589 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.1259, allocations: 7.984 kB / 0.5589 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1259, allocations: 29.7 kB / 0.559 GB, free: 9.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.126, allocations: 88.06 kB / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1261, allocations: 4 kB / 0.5591 GB, free: 9.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1261, allocations: 0 / 0.5591 GB, free: 9.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1261, allocations: 0 / 0.5591 GB, free: 9.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003418/0.1264, allocations: 351.3 kB / 0.5594 GB, free: 9.043 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1264, allocations: 8.031 kB / 0.5594 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.1265, allocations: 38.5 kB / 0.5594 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.1265, allocations: 3.906 kB / 0.5594 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.1266, allocations: 163.1 kB / 0.5596 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.753e-05/0.1267, allocations: 29.7 kB / 0.5596 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1267, allocations: 11.95 kB / 0.5596 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1268, allocations: 45.69 kB / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.1268, allocations: 0 / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1268, allocations: 0 / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.1268, allocations: 0 / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.326e-05/0.1269, allocations: 15.98 kB / 0.5597 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.1271, allocations: 157.7 kB / 0.5598 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1272, allocations: 54.53 kB / 0.5599 GB, free: 8.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.1273, allocations: 12.86 kB / 0.5599 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.1276, allocations: 186.2 kB / 0.5601 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1276, allocations: 34.56 kB / 0.5601 GB, free: 8.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1276, allocations: 7.938 kB / 0.5601 GB, free: 8.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.000196/0.1278, allocations: 69.61 kB / 0.5602 GB, free: 8.047 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1278, allocations: 51.41 kB / 0.5602 GB, free: 7.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.1279, allocations: 97.84 kB / 0.5603 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1279, allocations: 25.7 kB / 0.5604 GB, free: 7.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/0.1279, allocations: 84.14 kB / 0.5604 GB, free: 7.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.128, allocations: 11.81 kB / 0.5605 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.128, allocations: 3.938 kB / 0.5605 GB, free: 7.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.1281, allocations: 310.8 kB / 0.5608 GB, free: 7.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.1281, allocations: 19.98 kB / 0.5608 GB, free: 7.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.1282, allocations: 4 kB / 0.5608 GB, free: 7.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.1282, allocations: 15.98 kB / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1282, allocations: 0 / 0.5608 GB, free: 7.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.1283, allocations: 49.69 kB / 0.5608 GB, free: 7.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1283, allocations: 7.953 kB / 0.5608 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1283, allocations: 4 kB / 0.5609 GB, free: 7.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.1284, allocations: 3.938 kB / 0.5609 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.408e-05/0.1284, allocations: 11.98 kB / 0.5609 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1284, allocations: 3.984 kB / 0.5609 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.1285, allocations: 11.94 kB / 0.5609 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1285, allocations: 0 / 0.5609 GB, free: 7.297 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 (4): * Single equations (assignments): 4 * 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.485e-05/0.1285, allocations: 110.5 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.1285, allocations: 3.906 kB / 0.561 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.1287, allocations: 69.12 kB / 0.5611 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.1287, allocations: 7.984 kB / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1287, allocations: 0 / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1287, allocations: 0 / 0.5611 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.1288, allocations: 157.7 kB / 0.5612 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1288, allocations: 3.938 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.1289, allocations: 12 kB / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1289, allocations: 0 / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.1289, allocations: 0 / 0.5612 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1289, allocations: 7.953 kB / 0.5612 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1289, allocations: 4 kB / 0.5612 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.1291, allocations: 81.67 kB / 0.5613 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.1291, allocations: 85.09 kB / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.1291, allocations: 0 / 0.5614 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.1292, allocations: 4 kB / 0.5614 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.1292, allocations: 3.953 kB / 0.5614 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1292, allocations: 0 / 0.5614 GB, free: 6.648 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.1293, allocations: 91.3 kB / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1293, allocations: 0 / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.1295, allocations: 43.88 kB / 0.5615 GB, free: 6.516 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 (4): * Single equations (assignments): 4 * 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.0004486/0.1299, allocations: 0.6559 MB / 0.5622 GB, free: 5.828 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1301, allocations: 23.98 kB / 0.5622 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1301, allocations: 4 kB / 0.5622 GB, free: 5.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.1301, allocations: 23.92 kB / 0.5622 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1303, allocations: 3.953 kB / 0.5622 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.1306, allocations: 184.2 kB / 0.5624 GB, free: 5.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.1308, allocations: 0.6731 MB / 0.5631 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.177e-05/0.1309, allocations: 11.98 kB / 0.5631 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.1309, allocations: 11.44 kB / 0.5631 GB, free: 4.832 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1309, allocations: 0 / 0.5631 GB, free: 4.832 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01004/0.1409, allocations: 1.71 MB / 0.5648 GB, free: 3.277 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.1411, allocations: 187.3 kB / 0.5649 GB, free: 3.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.597, allocations: 6.328 kB / 0.5649 GB, free: 3.039 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: