Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7771/0.7771, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.0009995/0.0009995, allocations: 184 kB / 182.2 MB, free: 9.438 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.359/1.359, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.00091/0.0009101, allocations: 96.08 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.00166, allocations: 278.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.437e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.384, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.5149, allocations: 109.3 MB / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.5151, allocations: 75.83 kB / 0.8642 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006197/0.5213, allocations: 1.961 MB / 0.8661 GB, free: 496 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5213, allocations: 0 / 0.8661 GB, free: 496 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.5214, allocations: 0 / 0.8661 GB, free: 496 kB / 0.5261 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.0003462/0.5217, allocations: 362.4 kB / 0.8665 GB, free: 88 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.5218, allocations: 8.031 kB / 0.8665 GB, free: 80 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/0.5221, allocations: 27.97 kB / 0.8665 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.5222, allocations: 167.1 kB / 0.8667 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5223, allocations: 7.891 kB / 0.8667 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.5223, allocations: 0 / 0.8667 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.204e-05/0.5224, allocations: 20 kB / 0.8667 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.5225, allocations: 49.66 kB / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.5225, allocations: 0 / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.5225, allocations: 0 / 0.8667 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5225, allocations: 3.938 kB / 0.8667 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.5229, allocations: 269.3 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.405e-05/0.523, allocations: 30.58 kB / 0.867 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.523, allocations: 16.92 kB / 0.867 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.5231, allocations: 7.969 kB / 0.867 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.5231, allocations: 30.56 kB / 0.8671 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5231, allocations: 0 / 0.8671 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.5233, allocations: 57.69 kB / 0.8671 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.5233, allocations: 51.41 kB / 0.8672 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.5234, allocations: 93.08 kB / 0.8673 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5234, allocations: 25.7 kB / 0.8673 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.5234, allocations: 88.12 kB / 0.8674 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.5235, allocations: 3.906 kB / 0.8674 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.443e-06/0.5235, allocations: 0 / 0.8674 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.5236, allocations: 314.8 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.5236, allocations: 12.03 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.5236, allocations: 8 kB / 0.8677 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.5237, allocations: 19.94 kB / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5237, allocations: 0 / 0.8677 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.227e-05/0.5238, allocations: 49.69 kB / 0.8678 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5238, allocations: 8 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5238, allocations: 4 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5238, allocations: 4.031 kB / 0.8678 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.524, allocations: 24.06 kB / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.524, allocations: 0 / 0.8678 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/0.5241, allocations: 11.98 kB / 0.8678 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.5241, allocations: 0 / 0.8678 GB, free: 14.55 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 6.621e-05/0.5242, allocations: 108.9 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.5242, allocations: 3.906 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.5242, allocations: 11.75 kB / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.5242, allocations: 0 / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5242, allocations: 0 / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5243, allocations: 3.984 kB / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.5244, allocations: 154 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5244, allocations: 4 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.5245, allocations: 15.94 kB / 0.8681 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5245, allocations: 4 kB / 0.8681 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.5246, allocations: 4 kB / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5246, allocations: 0 / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5246, allocations: 0 / 0.8681 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.5247, allocations: 147.5 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.5248, allocations: 77.11 kB / 0.8683 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.5248, allocations: 3.953 kB / 0.8683 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5249, allocations: 16.02 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.525, allocations: 0 / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.525, allocations: 7.984 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.525, allocations: 83.22 kB / 0.8684 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.525, allocations: 0 / 0.8684 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000243/0.5253, allocations: 16 kB / 0.8684 GB, free: 13.82 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 (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.0001623/0.5255, allocations: 111.2 kB / 0.8686 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.678e-05/0.5256, allocations: 31.98 kB / 0.8686 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5256, allocations: 0 / 0.8686 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.214e-05/0.5256, allocations: 12 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.5258, allocations: 3.672 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.5261, allocations: 71.92 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.5263, allocations: 0.6768 MB / 0.8693 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.5264, allocations: 20.05 kB / 0.8693 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5264, allocations: 7.438 kB / 0.8694 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.5264, allocations: 7.938 kB / 0.8694 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of Templates: time 0.002487/0.5289, allocations: 0.6763 MB / 0.87 GB, free: 12.16 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)