Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7561/0.7561, 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.001258/0.001258, allocations: 181.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.47/1.47, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009453/0.0009456, allocations: 92.98 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 276.7 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.745e-05, allocations: 8 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4671, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.6001, allocations: 109.6 MB / 0.8713 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.6005, allocations: 83.61 kB / 0.8714 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005588/0.6061, allocations: 1.807 MB / 0.8731 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6061, allocations: 0 / 0.8731 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.6061, allocations: 7.938 kB / 0.8731 GB, free: 13.09 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002883/0.6064, allocations: 346.4 kB / 0.8735 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6065, allocations: 12.03 kB / 0.8735 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.6068, allocations: 19.97 kB / 0.8735 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.607, allocations: 163.1 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.607, allocations: 3.953 kB / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.607, allocations: 0 / 0.8736 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.6071, allocations: 49.67 kB / 0.8737 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6071, allocations: 3.984 kB / 0.8737 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.6072, allocations: 0 / 0.8737 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6072, allocations: 0 / 0.8737 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.253e-05/0.6072, allocations: 19.92 kB / 0.8737 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.6074, allocations: 153.7 kB / 0.8739 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.6075, allocations: 34.55 kB / 0.8739 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.6075, allocations: 20.92 kB / 0.8739 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.6075, allocations: 3.984 kB / 0.8739 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.6076, allocations: 30.56 kB / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.6076, allocations: 0 / 0.874 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.6077, allocations: 53.61 kB / 0.874 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.6078, allocations: 55.41 kB / 0.8741 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.6079, allocations: 89 kB / 0.8741 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.6079, allocations: 25.7 kB / 0.8742 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.6079, allocations: 84.17 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.608, allocations: 11.84 kB / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.608, allocations: 0 / 0.8743 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6081, allocations: 314.8 kB / 0.8746 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.6081, allocations: 7.984 kB / 0.8746 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.6081, allocations: 8 kB / 0.8746 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.6082, allocations: 7.938 kB / 0.8746 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6082, allocations: 0 / 0.8746 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.086e-05/0.6083, allocations: 65.59 kB / 0.8746 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.6083, allocations: 4 kB / 0.8746 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6083, allocations: 0 / 0.8746 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.6083, allocations: 3.938 kB / 0.8746 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6084, allocations: 11.98 kB / 0.8747 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6084, allocations: 3.938 kB / 0.8747 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.6085, allocations: 4 kB / 0.8747 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.6085, allocations: 0 / 0.8747 GB, free: 11.3 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.548e-05/0.6086, allocations: 109 kB / 0.8748 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.6086, allocations: 7.938 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.6086, allocations: 3.125 kB / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6087, allocations: 0 / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6087, allocations: 0 / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6087, allocations: 0 / 0.8748 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.6088, allocations: 153.7 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.6088, allocations: 4 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.6089, allocations: 11.98 kB / 0.8749 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6089, allocations: 3.953 kB / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.6089, allocations: 0 / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6089, allocations: 0 / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6089, allocations: 0 / 0.8749 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.609, allocations: 81.05 kB / 0.875 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.6091, allocations: 81.09 kB / 0.8751 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.6092, allocations: 11.95 kB / 0.8751 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.6092, allocations: 4.031 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.6092, allocations: 0 / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.6093, allocations: 7.984 kB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.6093, allocations: 79.47 kB / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6093, allocations: 0 / 0.8752 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001908/0.6095, allocations: 12 kB / 0.8752 GB, free: 10.66 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.0001712/0.6097, allocations: 120.6 kB / 0.8753 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.381e-05/0.6098, allocations: 23.98 kB / 0.8754 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6098, allocations: 0 / 0.8754 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.596e-05/0.6098, allocations: 11.94 kB / 0.8754 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.61, allocations: 4 kB / 0.8754 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002277/0.6102, allocations: 72.91 kB / 0.8754 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.6104, allocations: 0.681 MB / 0.8761 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.6105, allocations: 12.11 kB / 0.8761 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.6105, allocations: 11.44 kB / 0.8761 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6105, allocations: 0 / 0.8761 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of Templates: time 0.002608/0.6132, allocations: 0.6941 MB / 0.8768 GB, free: 8.984 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)