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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 179.4 kB / 191.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 80.34 kB / 0.5188 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00275/0.002751, allocations: 276.5 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006065/0.0006065, allocations: 11 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2071, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.3784, allocations: 109.1 MB / 0.8802 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.3787, allocations: 81.98 kB / 0.8803 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3471/0.7259, allocations: 0.9799 MB / 0.8813 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7259, allocations: 0 / 0.8813 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.7259, allocations: 0.9688 kB / 0.8813 GB, free: 109.4 MB / 0.5417 GB 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.0003546/0.7263, allocations: 347.5 kB / 0.8816 GB, free: 109 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.7263, allocations: 8.656 kB / 0.8816 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.7265, allocations: 7.688 kB / 0.8816 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.7265, allocations: 163.2 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.7266, allocations: 9.531 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.7266, allocations: 2 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.7268, allocations: 54.19 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.7268, allocations: 2.875 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7268, allocations: 1.656 kB / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7268, allocations: 0 / 0.8818 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.727, allocations: 45.06 kB / 0.8819 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.7274, allocations: 253 kB / 0.8821 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.7275, allocations: 41.27 kB / 0.8822 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.7276, allocations: 5.484 kB / 0.8822 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.7276, allocations: 31.97 kB / 0.8822 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.7276, allocations: 0 / 0.8822 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004334/0.728, allocations: 101.3 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.7281, allocations: 51.41 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.562e-05/0.7281, allocations: 96.42 kB / 0.8824 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.7282, allocations: 25.7 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.7282, allocations: 84.39 kB / 0.8825 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.7282, allocations: 11.64 kB / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.7282, allocations: 0 / 0.8826 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.7283, allocations: 317.1 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.7284, allocations: 26.52 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.849e-05/0.7285, allocations: 16.8 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.804e-05/0.7285, allocations: 26.89 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7286, allocations: 6.672 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001744/0.7287, allocations: 70.59 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.7288, allocations: 5.375 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7288, allocations: 5.109 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7288, allocations: 0 / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.7289, allocations: 26 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.7289, allocations: 0 / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.729, allocations: 8.797 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.729, allocations: 2.938 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB 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 5.399e-05/0.729, allocations: 109 kB / 0.8832 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.7291, allocations: 14.86 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.7293, allocations: 83.31 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.7293, allocations: 2.562 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.7293, allocations: 0.5625 kB / 0.8833 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7293, allocations: 9.641 kB / 0.8833 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.7295, allocations: 161.8 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7295, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.7295, allocations: 23.48 kB / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7296, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.7296, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7296, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.7296, allocations: 0 / 0.8834 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.7298, allocations: 173.9 kB / 0.8836 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.7298, allocations: 79.86 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7299, allocations: 4.516 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/0.7299, allocations: 15.8 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.73, allocations: 4.141 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.73, allocations: 0.9375 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.73, allocations: 79.36 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.73, allocations: 0 / 0.8838 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002026/0.7302, allocations: 10.94 kB / 0.8838 GB, free: 107.1 MB / 0.5417 GB 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.0001153/0.7304, allocations: 101.6 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.7306, allocations: 50.33 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7306, allocations: 3.938 kB / 0.8839 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.7307, allocations: 28.62 kB / 0.884 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.7309, allocations: 4.531 kB / 0.884 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.7312, allocations: 131.7 kB / 0.8841 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.7313, allocations: 0.6818 MB / 0.8848 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.968e-05/0.7313, allocations: 3.938 kB / 0.8848 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.7314, allocations: 10.41 kB / 0.8848 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.7314, allocations: 4 kB / 0.8848 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.002163/0.7335, allocations: 426.5 kB / 0.8852 GB, free: 106.1 MB / 0.5417 GB 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)