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.7602/0.7602, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.000964/0.0009639, allocations: 176.8 kB / 182.2 MB, free: 9.441 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.367/1.367, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0008899/0.0008899, allocations: 91.78 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 285.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.228e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.448, allocations: 82.77 MB / 0.7573 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5886, allocations: 109.3 MB / 0.8641 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5889, allocations: 87.77 kB / 0.8642 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006448/0.5953, allocations: 1.961 MB / 0.8661 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.103e-06/0.5954, allocations: 0 / 0.8661 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5954, allocations: 4 kB / 0.8661 GB, free: 0.5117 MB / 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.0003872/0.5958, allocations: 358.4 kB / 0.8665 GB, free: 120 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5958, allocations: 8.031 kB / 0.8665 GB, free: 112 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.5962, allocations: 23.97 kB / 0.8665 GB, free: 88 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5963, allocations: 167 kB / 0.8667 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.5964, allocations: 11.95 kB / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.5964, allocations: 0 / 0.8667 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.304e-05/0.5965, allocations: 16 kB / 0.8667 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.5966, allocations: 53.59 kB / 0.8667 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5966, allocations: 0 / 0.8667 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5966, allocations: 4 kB / 0.8667 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.5967, allocations: 0 / 0.8667 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.5971, allocations: 261.3 kB / 0.867 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.709e-05/0.5972, allocations: 34.58 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.5973, allocations: 12.92 kB / 0.867 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.5973, allocations: 4 kB / 0.867 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.5974, allocations: 38.55 kB / 0.8671 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.5974, allocations: 3.938 kB / 0.8671 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001894/0.5976, allocations: 45.69 kB / 0.8671 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.5976, allocations: 59.44 kB / 0.8672 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.5977, allocations: 93 kB / 0.8673 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5977, allocations: 25.7 kB / 0.8673 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.5978, allocations: 80.14 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5978, allocations: 11.89 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-06/0.5978, allocations: 0 / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5979, allocations: 314.8 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.5979, allocations: 12 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.99e-05/0.598, allocations: 12 kB / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.598, allocations: 15.94 kB / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.598, allocations: 0 / 0.8677 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.228e-05/0.5981, allocations: 53.62 kB / 0.8678 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5981, allocations: 7.938 kB / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5981, allocations: 4 kB / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5982, allocations: 0 / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.5983, allocations: 19.97 kB / 0.8678 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5983, allocations: 4.094 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5984, allocations: 11.98 kB / 0.8678 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5984, allocations: 4 kB / 0.8678 GB, free: 14.58 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.067e-05/0.5985, allocations: 104.9 kB / 0.8679 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5986, allocations: 7.906 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/0.5986, allocations: 7.75 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5986, allocations: 4 kB / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5986, allocations: 0 / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5986, allocations: 3.984 kB / 0.8679 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.5988, allocations: 142.2 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5988, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.5989, allocations: 23.94 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5989, allocations: 0 / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5989, allocations: 0 / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5989, allocations: 4 kB / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5989, allocations: 0 / 0.8681 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.5991, allocations: 151.5 kB / 0.8682 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.5991, allocations: 81.11 kB / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.5991, allocations: 3.953 kB / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5993, allocations: 12.17 kB / 0.8683 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.095e-05/0.5993, allocations: 4.031 kB / 0.8683 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.5993, allocations: 7.969 kB / 0.8683 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.13e-05/0.5994, allocations: 83.28 kB / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5994, allocations: 0 / 0.8684 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002545/0.5996, allocations: 16 kB / 0.8684 GB, free: 13.86 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.0001717/0.5998, allocations: 111.2 kB / 0.8685 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.5999, allocations: 27.98 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5999, allocations: 4.062 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.6, allocations: 15.94 kB / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.6001, allocations: 3.938 kB / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.6004, allocations: 75.86 kB / 0.8687 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.6007, allocations: 0.6768 MB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.388e-05/0.6008, allocations: 12.06 kB / 0.8693 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.6008, allocations: 11.42 kB / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6008, allocations: 0 / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of Templates: time 0.002503/0.6033, allocations: 0.677 MB / 0.87 GB, free: 12.19 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)