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: translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, 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.001334/0.001334, allocations: 172.4 kB / 16.58 MB, free: 5.66 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.402/1.402, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8294/0.8294, allocations: 115.5 MB / 407.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003028, allocations: 12 kB / 495.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.00165/0.141, allocations: 1.193 MB / 0.5605 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1423, allocations: 0.7569 MB / 0.5612 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1423, allocations: 0 / 0.5612 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.1423, allocations: 3.938 kB / 0.5612 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.1424, allocations: 7.938 kB / 0.5612 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.1429, allocations: 111.6 kB / 0.5613 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.143, allocations: 51.78 kB / 0.5614 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.1431, allocations: 11.98 kB / 0.5614 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.371e-05/0.1431, allocations: 15.92 kB / 0.5614 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.1432, allocations: 19.92 kB / 0.5614 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1432, allocations: 0 / 0.5614 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1436, allocations: 175.6 kB / 0.5616 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1436, allocations: 8 kB / 0.5616 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.1436, allocations: 33.64 kB / 0.5616 GB, free: 7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1438, allocations: 104.1 kB / 0.5617 GB, free: 6.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1438, allocations: 0 / 0.5617 GB, free: 6.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1439, allocations: 0 / 0.5617 GB, free: 6.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1439, allocations: 0 / 0.5617 GB, free: 6.898 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.0005471/0.1444, allocations: 403.1 kB / 0.5621 GB, free: 6.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1445, allocations: 11.97 kB / 0.5621 GB, free: 6.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1445, allocations: 7.906 kB / 0.5621 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.1446, allocations: 171 kB / 0.5623 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1447, allocations: 0 / 0.5623 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1447, allocations: 11.94 kB / 0.5623 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.145, allocations: 85.61 kB / 0.5624 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.145, allocations: 0 / 0.5624 GB, free: 6.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.145, allocations: 3.984 kB / 0.5624 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.145, allocations: 0 / 0.5624 GB, free: 6.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.1453, allocations: 87.94 kB / 0.5625 GB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1457, allocations: 288.7 kB / 0.5628 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.1459, allocations: 70.47 kB / 0.5628 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1461, allocations: 56.86 kB / 0.5629 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.1463, allocations: 93.09 kB / 0.563 GB, free: 5.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.1463, allocations: 34.55 kB / 0.563 GB, free: 5.418 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1463, allocations: 0 / 0.563 GB, free: 5.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005438/0.1469, allocations: 165.6 kB / 0.5632 GB, free: 5.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.1469, allocations: 55.41 kB / 0.5632 GB, free: 5.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.987e-05/0.147, allocations: 121.7 kB / 0.5633 GB, free: 5.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1471, allocations: 25.7 kB / 0.5634 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1471, allocations: 88.14 kB / 0.5634 GB, free: 4.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.1471, allocations: 3.906 kB / 0.5634 GB, free: 4.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.1471, allocations: 8 kB / 0.5635 GB, free: 4.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1473, allocations: 322.8 kB / 0.5638 GB, free: 4.602 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.1474, allocations: 35.97 kB / 0.5638 GB, free: 4.566 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1476, allocations: 51.98 kB / 0.5638 GB, free: 4.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1477, allocations: 39.97 kB / 0.5639 GB, free: 4.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1477, allocations: 0 / 0.5639 GB, free: 4.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003211/0.1481, allocations: 125.5 kB / 0.564 GB, free: 4.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.1481, allocations: 5.719 kB / 0.564 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1481, allocations: 0 / 0.564 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1481, allocations: 7.938 kB / 0.564 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1482, allocations: 19.97 kB / 0.564 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1482, allocations: 4 kB / 0.564 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.1483, allocations: 19.98 kB / 0.5641 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1483, allocations: 0 / 0.5641 GB, free: 4.293 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 7.707e-05/0.1484, allocations: 113.8 kB / 0.5642 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1485, allocations: 4 kB / 0.5642 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003693/0.1488, allocations: 137.4 kB / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1488, allocations: 0 / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1489, allocations: 0 / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1489, allocations: 0 / 0.5643 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.149, allocations: 177.7 kB / 0.5645 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1491, allocations: 4 kB / 0.5645 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.1492, allocations: 27.91 kB / 0.5645 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1492, allocations: 3.938 kB / 0.5645 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1492, allocations: 4 kB / 0.5645 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1492, allocations: 0 / 0.5645 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1492, allocations: 0 / 0.5645 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.1496, allocations: 211.5 kB / 0.5647 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1496, allocations: 88.97 kB / 0.5648 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.1496, allocations: 7.984 kB / 0.5648 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1497, allocations: 15.98 kB / 0.5648 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.1498, allocations: 4 kB / 0.5648 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1498, allocations: 0 / 0.5648 GB, free: 3.406 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1499, allocations: 95.27 kB / 0.5649 GB, free: 3.312 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1499, allocations: 0 / 0.5649 GB, free: 3.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1502, allocations: 35.92 kB / 0.5649 GB, free: 3.277 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.0001964/0.1504, allocations: 127.1 kB / 0.5651 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003389/0.1507, allocations: 91.92 kB / 0.5652 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1507, allocations: 0 / 0.5652 GB, free: 3.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.1509, allocations: 55.95 kB / 0.5652 GB, free: 3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1512, allocations: 4 kB / 0.5652 GB, free: 2.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.1515, allocations: 166.7 kB / 0.5654 GB, free: 2.809 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1517, allocations: 0.6848 MB / 0.566 GB, free: 2.098 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.988e-05/0.1518, allocations: 8.422 kB / 0.566 GB, free: 2.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1518, allocations: 11.44 kB / 0.5661 GB, free: 2.078 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1518, allocations: 0 / 0.5661 GB, free: 2.078 MB / 430.1 MB Notification: Performance of Templates: time 0.003559/0.1554, allocations: 1.193 MB / 0.5672 GB, free: 0.8945 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)