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.001037/0.001037, allocations: 95.25 kB / 15.68 MB, free: 488 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.001006/0.001006, allocations: 176.6 kB / 16.57 MB, free: 6.387 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.303/1.303, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6786/0.6786, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 13.98 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001791/0.1368, allocations: 1.184 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009597/0.1378, allocations: 0.6556 MB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.1379, allocations: 0 / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.1379, allocations: 3.984 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.918e-05/0.138, allocations: 23.84 kB / 0.5587 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.1383, allocations: 95.77 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1384, allocations: 35.89 kB / 0.5588 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.1385, allocations: 11.98 kB / 0.5588 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.149e-05/0.1385, allocations: 15.94 kB / 0.5588 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.519e-05/0.1386, allocations: 23.91 kB / 0.5588 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1386, allocations: 4 kB / 0.5588 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.1389, allocations: 167.8 kB / 0.559 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.1389, allocations: 4 kB / 0.559 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.139, allocations: 33.64 kB / 0.559 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1392, allocations: 100.1 kB / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1392, allocations: 0 / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1392, allocations: 4 kB / 0.5591 GB, free: 9.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1392, allocations: 3.938 kB / 0.5591 GB, free: 9.246 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.0005188/0.1397, allocations: 391.2 kB / 0.5595 GB, free: 8.816 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1397, allocations: 12.02 kB / 0.5595 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1398, allocations: 7.906 kB / 0.5595 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1399, allocations: 167 kB / 0.5597 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1399, allocations: 8 kB / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1399, allocations: 3.938 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1402, allocations: 89.59 kB / 0.5598 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1402, allocations: 4 kB / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1402, allocations: 0 / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1402, allocations: 0 / 0.5598 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.1406, allocations: 91.92 kB / 0.5599 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1409, allocations: 284.8 kB / 0.5601 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1412, allocations: 70.48 kB / 0.5602 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.1413, allocations: 93.25 kB / 0.5603 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.1414, allocations: 38.48 kB / 0.5603 GB, free: 7.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1414, allocations: 0 / 0.5603 GB, free: 7.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005733/0.142, allocations: 165.5 kB / 0.5605 GB, free: 7.664 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.142, allocations: 55.34 kB / 0.5605 GB, free: 7.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.1421, allocations: 121.8 kB / 0.5607 GB, free: 7.469 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1421, allocations: 25.7 kB / 0.5607 GB, free: 7.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1421, allocations: 84.14 kB / 0.5608 GB, free: 7.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.1422, allocations: 15.84 kB / 0.5608 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.1422, allocations: 4 kB / 0.5608 GB, free: 7.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/0.1423, allocations: 314.8 kB / 0.5611 GB, free: 7.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1424, allocations: 39.97 kB / 0.5611 GB, free: 6.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1426, allocations: 51.89 kB / 0.5612 GB, free: 6.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1427, allocations: 44.2 kB / 0.5612 GB, free: 6.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1428, allocations: 4 kB / 0.5612 GB, free: 6.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003439/0.1431, allocations: 125.5 kB / 0.5613 GB, free: 6.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1431, allocations: 4 kB / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1431, allocations: 0 / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1432, allocations: 0 / 0.5613 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1433, allocations: 27.91 kB / 0.5614 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1433, allocations: 0 / 0.5614 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.1434, allocations: 27.98 kB / 0.5614 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1434, allocations: 0 / 0.5614 GB, free: 6.691 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.985e-05/0.1435, allocations: 113.8 kB / 0.5615 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.1435, allocations: 4 kB / 0.5615 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.1439, allocations: 125.5 kB / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1439, allocations: 0 / 0.5616 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1439, allocations: 4 kB / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1439, allocations: 0 / 0.5616 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1441, allocations: 173.5 kB / 0.5618 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1441, allocations: 7.953 kB / 0.5618 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.1442, allocations: 27.91 kB / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1442, allocations: 0 / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1442, allocations: 0 / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1442, allocations: 0 / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1442, allocations: 0 / 0.5618 GB, free: 6.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.1446, allocations: 215.5 kB / 0.562 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.1447, allocations: 88.97 kB / 0.5621 GB, free: 5.844 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.1447, allocations: 3.984 kB / 0.5621 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1448, allocations: 15.98 kB / 0.5621 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1449, allocations: 8 kB / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1449, allocations: 0 / 0.5622 GB, free: 5.816 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.534e-05/0.1449, allocations: 92.36 kB / 0.5622 GB, free: 5.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1449, allocations: 3.938 kB / 0.5622 GB, free: 5.723 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1452, allocations: 35.94 kB / 0.5623 GB, free: 5.688 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.0001899/0.1454, allocations: 131.8 kB / 0.5624 GB, free: 5.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.1458, allocations: 95.86 kB / 0.5625 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1458, allocations: 0 / 0.5625 GB, free: 5.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.1459, allocations: 51.95 kB / 0.5625 GB, free: 5.406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1462, allocations: 5.875 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.1465, allocations: 174 kB / 0.5627 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1467, allocations: 0.6926 MB / 0.5634 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.262e-05/0.1467, allocations: 4 kB / 0.5634 GB, free: 4.488 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1467, allocations: 7.438 kB / 0.5634 GB, free: 4.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1467, allocations: 0 / 0.5634 GB, free: 4.48 MB / 430.1 MB Notification: Performance of Templates: time 0.003345/0.1501, allocations: 1.183 MB / 0.5646 GB, free: 3.305 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)