Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.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.DewPointTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008421, allocations: 100 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.0009817/0.0009818, 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.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001787/0.001787, allocations: 270.7 kB / 291.2 MB, free: 2.008 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.7945/0.7945, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.000422, allocations: 11.38 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 83.08 MB / 0.6494 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.001524/0.1656, allocations: 1.224 MB / 0.6506 GB, free: 2.371 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.1664, allocations: 0.5704 MB / 0.6512 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.1665, allocations: 4.625 kB / 0.6512 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.1665, allocations: 7.922 kB / 0.6512 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.1666, allocations: 13.06 kB / 0.6512 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.1669, allocations: 130.4 kB / 0.6513 GB, free: 1.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.167, allocations: 31.95 kB / 0.6513 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1671, allocations: 11.98 kB / 0.6514 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.1671, allocations: 19.92 kB / 0.6514 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.304e-05/0.1671, allocations: 20.42 kB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-06/0.1672, allocations: 0.5938 kB / 0.6514 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.1675, allocations: 244.2 kB / 0.6516 GB, free: 1.332 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.1676, allocations: 9.359 kB / 0.6516 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.1676, allocations: 33.7 kB / 0.6517 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.1678, allocations: 112.1 kB / 0.6518 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-06/0.1678, allocations: 0 / 0.6518 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1678, allocations: 0.5938 kB / 0.6518 GB, free: 1.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1678, allocations: 0 / 0.6518 GB, free: 1.176 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003629/0.1682, allocations: 385.2 kB / 0.6521 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.407e-05/0.1682, allocations: 12.03 kB / 0.6522 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002478/0.1685, allocations: 24.81 kB / 0.6522 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.1686, allocations: 180.4 kB / 0.6524 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.1686, allocations: 4 kB / 0.6524 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.1686, allocations: 4 kB / 0.6524 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1688, allocations: 79.47 kB / 0.6524 GB, free: 424 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1688, allocations: 7.922 kB / 0.6524 GB, free: 416 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1689, allocations: 4.812 kB / 0.6524 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-06/0.1689, allocations: 0 / 0.6524 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.1691, allocations: 74.84 kB / 0.6525 GB, free: 340 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1695, allocations: 305.6 kB / 0.6528 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1697, allocations: 81.08 kB / 0.6529 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1697, allocations: 4.578 kB / 0.6529 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.1697, allocations: 32.47 kB / 0.6529 GB, free: 15.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.1697, allocations: 4 kB / 0.6529 GB, free: 15.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003586/0.1701, allocations: 124.1 kB / 0.653 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1701, allocations: 57.56 kB / 0.6531 GB, free: 15.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.1702, allocations: 105.8 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.1702, allocations: 29.7 kB / 0.6532 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.1703, allocations: 92.03 kB / 0.6533 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1703, allocations: 20.41 kB / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1703, allocations: 0 / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.141e-05/0.1704, allocations: 318.5 kB / 0.6536 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.1705, allocations: 35.97 kB / 0.6537 GB, free: 15.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.323e-05/0.1706, allocations: 23.98 kB / 0.6537 GB, free: 15.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.1707, allocations: 37.25 kB / 0.6537 GB, free: 14.99 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1707, allocations: 1.062 kB / 0.6537 GB, free: 14.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002284/0.171, allocations: 97.66 kB / 0.6538 GB, free: 14.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.171, allocations: 5.25 kB / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.171, allocations: 0 / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.171, allocations: 4 kB / 0.6538 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.1719, allocations: 111.8 kB / 0.6539 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1731, allocations: 1.39 MB / 0.6553 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.1732, allocations: 15.89 kB / 0.6553 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1732, allocations: 3.984 kB / 0.6553 GB, free: 13.23 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.1733, allocations: 117.8 kB / 0.6554 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1734, allocations: 0 / 0.6554 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.1739, allocations: 158.9 kB / 0.6556 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1739, allocations: 4.047 kB / 0.6556 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1739, allocations: 7.953 kB / 0.6556 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1739, allocations: 4.031 kB / 0.6556 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1741, allocations: 173.6 kB / 0.6558 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1741, allocations: 0 / 0.6558 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.171e-05/0.1742, allocations: 19.92 kB / 0.6558 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.1746, allocations: 44.81 kB / 0.6558 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1746, allocations: 4 kB / 0.6558 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1758, allocations: 1.364 MB / 0.6572 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1759, allocations: 3.953 kB / 0.6572 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005158/0.1764, allocations: 232.4 kB / 0.6574 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1764, allocations: 85.11 kB / 0.6575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1765, allocations: 0 / 0.6575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1766, allocations: 11.94 kB / 0.6575 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1766, allocations: 11.92 kB / 0.6575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1766, allocations: 4 kB / 0.6575 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.1767, allocations: 83.28 kB / 0.6576 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1767, allocations: 0 / 0.6576 GB, free: 10.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1769, allocations: 20 kB / 0.6576 GB, free: 10.64 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001067/0.177, allocations: 103.2 kB / 0.6577 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009938/0.178, allocations: 151.9 kB / 0.6578 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1781, allocations: 0 / 0.6578 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.1784, allocations: 166.8 kB / 0.658 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1787, allocations: 13.86 kB / 0.658 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/0.1793, allocations: 221.8 kB / 0.6582 GB, free: 9.957 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1796, allocations: 0.6887 MB / 0.6589 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.1796, allocations: 0 / 0.6589 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.1797, allocations: 15.44 kB / 0.6589 GB, free: 9.227 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1797, allocations: 0 / 0.6589 GB, free: 9.227 MB / 462.1 MB Notification: Performance of Templates: time 0.003271/0.1829, allocations: 1.042 MB / 0.6599 GB, free: 8.195 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) Environment - environmentSimulation: