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.007758/0.007758, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001259/0.001259, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.295/1.295, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6581/0.6581, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.88 kB / 493 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1433, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003608/0.147, allocations: 1.547 MB / 0.5574 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1485, allocations: 0.8071 MB / 0.5581 GB, free: 8.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.1486, allocations: 4 kB / 0.5581 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.1486, allocations: 7.922 kB / 0.5582 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.862e-05/0.1487, allocations: 7.922 kB / 0.5582 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.1492, allocations: 107.6 kB / 0.5583 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.468e-05/0.1493, allocations: 59.72 kB / 0.5583 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1494, allocations: 16 kB / 0.5583 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.969e-05/0.1495, allocations: 23.91 kB / 0.5584 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.711e-05/0.1495, allocations: 23.91 kB / 0.5584 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1496, allocations: 7.938 kB / 0.5584 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.1499, allocations: 163.7 kB / 0.5585 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.15, allocations: 19.91 kB / 0.5586 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.15, allocations: 23.88 kB / 0.5586 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1503, allocations: 135.9 kB / 0.5587 GB, free: 7.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1504, allocations: 0 / 0.5587 GB, free: 7.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1504, allocations: 4 kB / 0.5587 GB, free: 7.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1504, allocations: 0 / 0.5587 GB, free: 7.746 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.0006129/0.151, allocations: 403.2 kB / 0.5591 GB, free: 7.301 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.151, allocations: 8.031 kB / 0.5591 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.1511, allocations: 34.69 kB / 0.5591 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1511, allocations: 8.875 kB / 0.5592 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.1513, allocations: 172.3 kB / 0.5593 GB, free: 7.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.1513, allocations: 4.375 kB / 0.5593 GB, free: 7.031 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1513, allocations: 8.375 kB / 0.5593 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.1516, allocations: 74.2 kB / 0.5594 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1516, allocations: 3.938 kB / 0.5594 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1516, allocations: 0 / 0.5594 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1516, allocations: 0 / 0.5594 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.152, allocations: 79.86 kB / 0.5595 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.1525, allocations: 280.7 kB / 0.5597 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1527, allocations: 58.53 kB / 0.5598 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1529, allocations: 44.91 kB / 0.5598 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.1531, allocations: 89.09 kB / 0.5599 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1531, allocations: 34.5 kB / 0.56 GB, free: 6.277 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1531, allocations: 0 / 0.56 GB, free: 6.277 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005531/0.1537, allocations: 129.6 kB / 0.5601 GB, free: 6.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1537, allocations: 51.41 kB / 0.5601 GB, free: 6.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.1538, allocations: 118.9 kB / 0.5603 GB, free: 5.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1538, allocations: 25.7 kB / 0.5603 GB, free: 5.926 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1539, allocations: 96.05 kB / 0.5604 GB, free: 5.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1539, allocations: 7.891 kB / 0.5604 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.154, allocations: 13.72 kB / 0.5604 GB, free: 5.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1541, allocations: 322.8 kB / 0.5607 GB, free: 5.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1542, allocations: 31.95 kB / 0.5607 GB, free: 5.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1544, allocations: 31.97 kB / 0.5608 GB, free: 5.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1547, allocations: 76.72 kB / 0.5608 GB, free: 5.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1547, allocations: 0 / 0.5608 GB, free: 5.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003143/0.155, allocations: 101.5 kB / 0.5609 GB, free: 5.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.155, allocations: 4 kB / 0.5609 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.155, allocations: 0 / 0.5609 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.155, allocations: 0 / 0.5609 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.1552, allocations: 23.97 kB / 0.561 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1552, allocations: 0 / 0.561 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.988e-05/0.1553, allocations: 15.92 kB / 0.561 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1553, allocations: 0 / 0.561 GB, free: 5.188 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.1554, allocations: 121.7 kB / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.1554, allocations: 0 / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.1557, allocations: 109.5 kB / 0.5612 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1558, allocations: 4 kB / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1558, allocations: 0 / 0.5612 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1558, allocations: 7.984 kB / 0.5612 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1561, allocations: 173.7 kB / 0.5614 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1561, allocations: 0 / 0.5614 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.724e-05/0.1562, allocations: 19.97 kB / 0.5614 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1562, allocations: 0 / 0.5614 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1562, allocations: 0 / 0.5614 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1562, allocations: 4 kB / 0.5614 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1562, allocations: 0 / 0.5614 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.1566, allocations: 203.6 kB / 0.5616 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1566, allocations: 84.95 kB / 0.5617 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1567, allocations: 3.984 kB / 0.5617 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1568, allocations: 15.98 kB / 0.5617 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.1568, allocations: 4.031 kB / 0.5617 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1568, allocations: 4 kB / 0.5617 GB, free: 4.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.1569, allocations: 98.98 kB / 0.5618 GB, free: 4.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1569, allocations: 0 / 0.5618 GB, free: 4.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1572, allocations: 35.98 kB / 0.5618 GB, free: 4.215 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 (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.0009883/0.1582, allocations: 0.7552 MB / 0.5626 GB, free: 3.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1585, allocations: 71.92 kB / 0.5626 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1585, allocations: 0 / 0.5626 GB, free: 3.363 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1587, allocations: 31.97 kB / 0.5627 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.159, allocations: 19.92 kB / 0.5627 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.161, allocations: 1.428 MB / 0.5641 GB, free: 1.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1613, allocations: 0.6848 MB / 0.5647 GB, free: 1.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.993e-05/0.1614, allocations: 8 kB / 0.5647 GB, free: 1.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1615, allocations: 19.42 kB / 0.5648 GB, free: 1.07 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1615, allocations: 0 / 0.5648 GB, free: 1.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/0.336, allocations: 2.163 MB / 0.5669 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/0.3364, allocations: 193.7 kB / 0.5671 GB, free: 14.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.452, allocations: 4 kB / 0.5671 GB, free: 14.75 MB / 446.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/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)