Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008374/0.0008376, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000869/0.000869, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 270.7 kB / 291.3 MB, free: 1.938 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7923/0.7923, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003679, allocations: 15.83 kB / 0.5683 GB, free: 38.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 83.1 MB / 0.6494 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001348/0.1374, allocations: 1.12 MB / 0.6505 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.1378, allocations: 180.8 kB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.1378, allocations: 1.781 kB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1378, allocations: 3.938 kB / 0.6507 GB, free: 2.289 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.1379, allocations: 7.984 kB / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.138, allocations: 27.89 kB / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.1381, allocations: 13.2 kB / 0.6508 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.809e-05/0.1382, allocations: 4 kB / 0.6508 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.1382, allocations: 9.172 kB / 0.6508 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.449e-05/0.1382, allocations: 7.938 kB / 0.6508 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1383, allocations: 4 kB / 0.6508 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1383, allocations: 28.5 kB / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.1384, allocations: 5.422 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1384, allocations: 25.7 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.1385, allocations: 27.97 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1385, allocations: 0 / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1385, allocations: 1.281 kB / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1385, allocations: 0 / 0.6509 GB, free: 2.129 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000386/0.1389, allocations: 353.2 kB / 0.6512 GB, free: 1.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.1389, allocations: 8.031 kB / 0.6512 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.838e-05/0.139, allocations: 7.938 kB / 0.6512 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1391, allocations: 165.7 kB / 0.6514 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1392, allocations: 3.984 kB / 0.6514 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.1392, allocations: 0 / 0.6514 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1394, allocations: 53.67 kB / 0.6514 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1394, allocations: 4.719 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1394, allocations: 0 / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.1394, allocations: 1.25 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.1396, allocations: 41.75 kB / 0.6515 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.1399, allocations: 254.5 kB / 0.6517 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1401, allocations: 40.25 kB / 0.6518 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1401, allocations: 0 / 0.6518 GB, free: 1.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1401, allocations: 35.97 kB / 0.6518 GB, free: 1.031 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1401, allocations: 0 / 0.6518 GB, free: 1.031 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.1405, allocations: 105 kB / 0.6519 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.1406, allocations: 56.38 kB / 0.6519 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/0.1406, allocations: 102 kB / 0.652 GB, free: 0.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1407, allocations: 31.39 kB / 0.6521 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.1407, allocations: 80.14 kB / 0.6521 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1407, allocations: 7.844 kB / 0.6522 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1407, allocations: 0 / 0.6522 GB, free: 0.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1409, allocations: 319.5 kB / 0.6525 GB, free: 312 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.141, allocations: 26.97 kB / 0.6525 GB, free: 288 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.141, allocations: 19.98 kB / 0.6525 GB, free: 268 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.94e-05/0.1411, allocations: 22.55 kB / 0.6525 GB, free: 248 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1411, allocations: 0 / 0.6525 GB, free: 248 kB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.1413, allocations: 79.47 kB / 0.6526 GB, free: 164 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1414, allocations: 4.75 kB / 0.6526 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1414, allocations: 4 kB / 0.6526 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1414, allocations: 5.75 kB / 0.6526 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.1415, allocations: 11.98 kB / 0.6526 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1415, allocations: 0 / 0.6526 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1416, allocations: 8.625 kB / 0.6526 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.1416, allocations: 1.312 kB / 0.6526 GB, free: 132 kB / 446.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 (2): * Single equations (assignments): 2 * 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.568e-05/0.1417, allocations: 117.8 kB / 0.6527 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.1417, allocations: 1 kB / 0.6527 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.142, allocations: 91.84 kB / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.142, allocations: 0 / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.142, allocations: 0 / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.142, allocations: 6.047 kB / 0.6528 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.1421, allocations: 161.6 kB / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1422, allocations: 7.938 kB / 0.653 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.1422, allocations: 11.98 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1422, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1423, allocations: 0.625 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1423, allocations: 0.8125 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1423, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.1425, allocations: 187.6 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.1426, allocations: 81.11 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1426, allocations: 3.984 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1427, allocations: 12 kB / 0.6533 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1427, allocations: 7.984 kB / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1427, allocations: 0 / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.1428, allocations: 79.28 kB / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1428, allocations: 0 / 0.6534 GB, free: 15.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002023/0.143, allocations: 4 kB / 0.6534 GB, free: 15.28 MB / 462.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 9.901e-05/0.1431, allocations: 103.2 kB / 0.6535 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1433, allocations: 55.89 kB / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.1433, allocations: 0 / 0.6535 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.1434, allocations: 23.98 kB / 0.6535 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.1436, allocations: 9.938 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.1438, allocations: 136.5 kB / 0.6537 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.1441, allocations: 0.6809 MB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.831e-05/0.1441, allocations: 4 kB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.1441, allocations: 11.44 kB / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1441, allocations: 0 / 0.6544 GB, free: 14.2 MB / 462.1 MB Notification: Performance of Templates: time 0.002066/0.1462, allocations: 411.6 kB / 0.6548 GB, free: 13.81 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) Environment - environmentSimulation: