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.001004/0.001004, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009686/0.0009686, allocations: 191.6 kB / 16.25 MB, free: 6.617 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.002021, allocations: 279.1 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 86.86 kB / 0.5947 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1522, allocations: 86.99 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002292/0.1545, allocations: 1.471 MB / 0.6811 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003585/0.1549, allocations: 196.8 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.1549, allocations: 0.75 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.155, allocations: 3.984 kB / 0.6812 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.754e-05/0.155, allocations: 8.438 kB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.1552, allocations: 17.69 kB / 0.6813 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.1553, allocations: 23.92 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.1553, allocations: 4 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.1554, allocations: 12.47 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.903e-05/0.1554, allocations: 8.609 kB / 0.6813 GB, free: 15.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1554, allocations: 7.938 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.1555, allocations: 34.77 kB / 0.6814 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1555, allocations: 11.97 kB / 0.6814 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.1556, allocations: 7.938 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.742e-05/0.1556, allocations: 32.19 kB / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1557, allocations: 0 / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1557, allocations: 0 / 0.6814 GB, free: 15.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1557, allocations: 0 / 0.6814 GB, free: 15.24 MB / 494.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.0003618/0.156, allocations: 337.2 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.1561, allocations: 8.031 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.1562, allocations: 8.844 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1563, allocations: 169 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1563, allocations: 384 / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1563, allocations: 13.19 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1565, allocations: 42.86 kB / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1565, allocations: 192 / 0.682 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1565, allocations: 13.38 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.1565, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1567, allocations: 32.53 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002862/0.1569, allocations: 253 kB / 0.6822 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.1571, allocations: 38.5 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.453e-05/0.1572, allocations: 21.41 kB / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.1572, allocations: 0 / 0.6823 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.1572, allocations: 46.5 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1572, allocations: 0 / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002987/0.1575, allocations: 81.58 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1575, allocations: 51.41 kB / 0.6825 GB, free: 13.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.1576, allocations: 101.9 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1576, allocations: 25.7 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.388e-05/0.1577, allocations: 92.16 kB / 0.6827 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.1577, allocations: 3.984 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1577, allocations: 17.72 kB / 0.6827 GB, free: 13.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1579, allocations: 310.8 kB / 0.683 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.1579, allocations: 15.98 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.158, allocations: 19.97 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1582, allocations: 44.83 kB / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1582, allocations: 0 / 0.6831 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002001/0.1584, allocations: 69.5 kB / 0.6831 GB, free: 13.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1584, allocations: 8 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1584, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1584, allocations: 0 / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.1585, allocations: 12.2 kB / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1585, allocations: 0 / 0.6832 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1586, allocations: 8 kB / 0.6832 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1586, allocations: 4 kB / 0.6832 GB, free: 13.21 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.078e-05/0.1586, allocations: 115.1 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.1587, allocations: 3.984 kB / 0.6833 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1589, allocations: 80.72 kB / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1589, allocations: 0 / 0.6834 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1589, allocations: 7.938 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1589, allocations: 0 / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1591, allocations: 161.6 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1591, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.1591, allocations: 11.98 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1591, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1592, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1592, allocations: 0 / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1592, allocations: 4 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.1594, allocations: 175.4 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.1594, allocations: 81.02 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1595, allocations: 0 / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1595, allocations: 7.984 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1596, allocations: 4 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1596, allocations: 4 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.273e-05/0.1596, allocations: 83.27 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1596, allocations: 3.938 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.1598, allocations: 11.94 kB / 0.6839 GB, free: 12.37 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.318e-05/0.1599, allocations: 95.25 kB / 0.684 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1601, allocations: 39.95 kB / 0.684 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1601, allocations: 4.062 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.647e-05/0.1602, allocations: 23.92 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1605, allocations: 7.938 kB / 0.6841 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.1608, allocations: 125.1 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.161, allocations: 0.6729 MB / 0.6848 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.016e-05/0.161, allocations: 7.984 kB / 0.6848 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.1611, allocations: 15.44 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1611, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Templates: time 0.002177/0.1633, allocations: 452.6 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (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)