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 0.8597/0.8597, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 182.3 kB / 187.3 MB, free: 11.88 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.547/1.547, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.001116/0.001116, allocations: 92.73 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 276.8 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.238e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5175/0.5175, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.6513, allocations: 109 MB / 0.8707 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6517, allocations: 84.36 kB / 0.8708 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002962/0.6546, allocations: 0.9827 MB / 0.8718 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6547, allocations: 0 / 0.8718 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.6547, allocations: 0 / 0.8718 GB, free: 14.47 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.0004015/0.6551, allocations: 342 kB / 0.8721 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.6551, allocations: 12.03 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.6553, allocations: 0 / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.6554, allocations: 163.1 kB / 0.8723 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.6554, allocations: 3.953 kB / 0.8723 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.6555, allocations: 3.875 kB / 0.8723 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6556, allocations: 45.56 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6556, allocations: 4 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6556, allocations: 0 / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6556, allocations: 0 / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.588e-05/0.6557, allocations: 8 kB / 0.8723 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.6561, allocations: 256.8 kB / 0.8726 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.004e-05/0.6561, allocations: 25.36 kB / 0.8726 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.6562, allocations: 16.86 kB / 0.8726 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6562, allocations: 0 / 0.8726 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6562, allocations: 34.56 kB / 0.8727 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.6562, allocations: 4 kB / 0.8727 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001489/0.6564, allocations: 37.7 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.6565, allocations: 55.39 kB / 0.8727 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.6565, allocations: 89 kB / 0.8728 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.6566, allocations: 25.7 kB / 0.8729 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.6566, allocations: 92.08 kB / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.6567, allocations: 3.906 kB / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.6567, allocations: 0 / 0.8729 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6568, allocations: 314.9 kB / 0.8732 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.6568, allocations: 8 kB / 0.8733 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.6568, allocations: 11.92 kB / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.6569, allocations: 7.953 kB / 0.8733 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6569, allocations: 4 kB / 0.8733 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.089e-05/0.657, allocations: 37.7 kB / 0.8733 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.657, allocations: 7.938 kB / 0.8733 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.657, allocations: 8 kB / 0.8733 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.657, allocations: 0 / 0.8733 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.6571, allocations: 16.08 kB / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.6571, allocations: 0 / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.497e-05/0.6572, allocations: 7.984 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.6572, allocations: 4.188 kB / 0.8734 GB, free: 12.66 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 () * 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.637e-05/0.6573, allocations: 104.9 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.6573, allocations: 0 / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.6574, allocations: 64.73 kB / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.6575, allocations: 0 / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6575, allocations: 0 / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6575, allocations: 3.984 kB / 0.8735 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.6576, allocations: 161.6 kB / 0.8737 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.6577, allocations: 3.953 kB / 0.8737 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.6577, allocations: 11.98 kB / 0.8737 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6577, allocations: 0 / 0.8737 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.6578, allocations: 4 kB / 0.8737 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6578, allocations: 7.938 kB / 0.8737 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6578, allocations: 0 / 0.8737 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.6579, allocations: 143.5 kB / 0.8738 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.658, allocations: 81.06 kB / 0.8739 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.658, allocations: 4 kB / 0.8739 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.6581, allocations: 7.984 kB / 0.8739 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.6581, allocations: 8 kB / 0.8739 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.6581, allocations: 0 / 0.8739 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.971e-05/0.6582, allocations: 87.27 kB / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6582, allocations: 0 / 0.874 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001852/0.6584, allocations: 4 kB / 0.874 GB, free: 11.88 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 () * 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.0001191/0.6585, allocations: 95.25 kB / 0.8741 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.937e-05/0.6586, allocations: 16 kB / 0.8741 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6586, allocations: 0 / 0.8741 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.6586, allocations: 20 kB / 0.8741 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.6588, allocations: 0 / 0.8741 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.659, allocations: 69.11 kB / 0.8742 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.6593, allocations: 0.6809 MB / 0.8749 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.419e-05/0.6594, allocations: 7.984 kB / 0.8749 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.6594, allocations: 7.438 kB / 0.8749 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.6594, allocations: 4 kB / 0.8749 GB, free: 10.92 MB / 0.5417 GB Notification: Performance of Templates: time 0.002215/0.6616, allocations: 420 kB / 0.8753 GB, free: 10.52 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)