Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009159/0.0009159, allocations: 99.78 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.0009636/0.0009636, allocations: 177.3 kB / 15.94 MB, free: 228 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.253/1.253, allocations: 223.2 MB / 239.9 MB, free: 5.219 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00164/0.00164, allocations: 271.2 kB / 291.2 MB, free: 1.785 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.7527/0.7527, allocations: 144.6 MB / 487 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004436, allocations: 15.22 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1423, allocations: 83.08 MB / 0.6494 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.0013/0.1437, allocations: 0.9968 MB / 0.6504 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.1445, allocations: 0.5032 MB / 0.6509 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.1445, allocations: 0 / 0.6509 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1445, allocations: 6.609 kB / 0.6509 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.1446, allocations: 3.984 kB / 0.6509 GB, free: 2.055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1449, allocations: 83.73 kB / 0.651 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.145, allocations: 19.97 kB / 0.651 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.145, allocations: 0 / 0.651 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.1451, allocations: 8.438 kB / 0.651 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1451, allocations: 8.641 kB / 0.651 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.1452, allocations: 0 / 0.651 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.1454, allocations: 156.3 kB / 0.6512 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-06/0.1454, allocations: 5.625 kB / 0.6512 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.1455, allocations: 29.7 kB / 0.6512 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1456, allocations: 60.16 kB / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1456, allocations: 0 / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1456, allocations: 0.75 kB / 0.6513 GB, free: 1.688 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.1456, allocations: 4 kB / 0.6513 GB, free: 1.684 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003189/0.146, allocations: 336.5 kB / 0.6516 GB, free: 1.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.146, allocations: 8.031 kB / 0.6516 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.1464, allocations: 34.08 kB / 0.6516 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1465, allocations: 163 kB / 0.6518 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1465, allocations: 3.938 kB / 0.6518 GB, free: 1.066 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.1466, allocations: 12.66 kB / 0.6518 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1467, allocations: 46.91 kB / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1467, allocations: 0 / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1467, allocations: 0.6562 kB / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1467, allocations: 0 / 0.6518 GB, free: 1.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1469, allocations: 29.08 kB / 0.6519 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.147, allocations: 159.2 kB / 0.652 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.1472, allocations: 40.69 kB / 0.6521 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1472, allocations: 3.938 kB / 0.6521 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1472, allocations: 39.27 kB / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1472, allocations: 0 / 0.6521 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002713/0.1475, allocations: 64.05 kB / 0.6522 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1475, allocations: 63.33 kB / 0.6522 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.764e-05/0.1476, allocations: 94.73 kB / 0.6523 GB, free: 444 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.1476, allocations: 29.7 kB / 0.6523 GB, free: 408 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.1477, allocations: 80.86 kB / 0.6524 GB, free: 324 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1477, allocations: 4.406 kB / 0.6524 GB, free: 320 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.1477, allocations: 0 / 0.6524 GB, free: 320 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.1478, allocations: 311.7 kB / 0.6527 GB, free: 0 / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1479, allocations: 16.73 kB / 0.6527 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.1479, allocations: 14.05 kB / 0.6527 GB, free: 15.97 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.148, allocations: 15.98 kB / 0.6528 GB, free: 15.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.148, allocations: 0 / 0.6528 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001544/0.1482, allocations: 64.19 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1482, allocations: 4 kB / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1482, allocations: 0 / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1482, allocations: 0 / 0.6528 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.1483, allocations: 8.484 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1483, allocations: 0.625 kB / 0.6528 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.1484, allocations: 9.312 kB / 0.6528 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1484, allocations: 0 / 0.6528 GB, free: 15.87 MB / 462.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 6.55e-05/0.1485, allocations: 114.8 kB / 0.653 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.1485, allocations: 7.953 kB / 0.653 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.1485, allocations: 5.594 kB / 0.653 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1485, allocations: 0 / 0.653 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.1485, allocations: 0 / 0.653 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.1486, allocations: 7.938 kB / 0.653 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1487, allocations: 161.6 kB / 0.6531 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1487, allocations: 6 kB / 0.6531 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.1487, allocations: 11.94 kB / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1488, allocations: 0 / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1488, allocations: 0 / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1488, allocations: 0 / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1488, allocations: 0 / 0.6531 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.149, allocations: 87.44 kB / 0.6532 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-05/0.149, allocations: 89.75 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.1491, allocations: 4.766 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.1491, allocations: 3.938 kB / 0.6533 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.1491, allocations: 4.25 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.1492, allocations: 4 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.991e-05/0.1492, allocations: 79.27 kB / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1492, allocations: 0 / 0.6534 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1494, allocations: 16 kB / 0.6534 GB, free: 15.2 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 (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 Backend phase and start with SimCode phase: time 0.0001489/0.1495, allocations: 115.1 kB / 0.6535 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1497, allocations: 31.98 kB / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1497, allocations: 0 / 0.6536 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.1498, allocations: 15.97 kB / 0.6536 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.1499, allocations: 13.81 kB / 0.6536 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.1503, allocations: 130.4 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.1504, allocations: 0.677 MB / 0.6544 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.554e-05/0.1505, allocations: 11.94 kB / 0.6544 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.1506, allocations: 7.438 kB / 0.6544 GB, free: 14.14 MB / 462.1 MB Notification: Performance of SimCode: time 4e-07/0.1506, allocations: 4 kB / 0.6544 GB, free: 14.13 MB / 462.1 MB Notification: Performance of Templates: time 0.002611/0.1532, allocations: 0.6901 MB / 0.6551 GB, free: 13.46 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: