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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.716/0.716, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 167.9 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.4 MB / 426.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007453/0.0007453, allocations: 86.36 kB / 0.4945 GB, free: 8.379 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001649/0.001649, allocations: 262.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005303/0.0005303, allocations: 16 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3412, allocations: 79.3 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4704, allocations: 108.1 MB / 0.845 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4708, allocations: 87.94 kB / 0.8451 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005445/0.4762, allocations: 1.775 MB / 0.8469 GB, free: 224 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4763, allocations: 0 / 0.8469 GB, free: 224 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.4763, allocations: 0 / 0.8469 GB, free: 224 kB / 0.5105 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.0003258/0.4766, allocations: 343.5 kB / 0.8472 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4767, allocations: 12.03 kB / 0.8472 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.477, allocations: 20.91 kB / 0.8472 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.4771, allocations: 172.3 kB / 0.8474 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.4771, allocations: 384 / 0.8474 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.4772, allocations: 384 / 0.8474 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4773, allocations: 50.23 kB / 0.8474 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4773, allocations: 192 / 0.8474 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4774, allocations: 3.938 kB / 0.8474 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4774, allocations: 0 / 0.8474 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.4775, allocations: 23.97 kB / 0.8475 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4776, allocations: 161.5 kB / 0.8476 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4778, allocations: 50.58 kB / 0.8477 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.4779, allocations: 12.91 kB / 0.8477 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.4779, allocations: 4 kB / 0.8477 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.4779, allocations: 34.56 kB / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4779, allocations: 0 / 0.8477 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.4782, allocations: 77.53 kB / 0.8478 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.4782, allocations: 59.34 kB / 0.8478 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.491e-05/0.4783, allocations: 93.86 kB / 0.8479 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.4783, allocations: 29.64 kB / 0.848 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.4784, allocations: 84.12 kB / 0.848 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.4784, allocations: 8.031 kB / 0.848 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.4784, allocations: 4 kB / 0.8481 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.4785, allocations: 310.8 kB / 0.8483 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.4786, allocations: 11.98 kB / 0.8484 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.4786, allocations: 15.98 kB / 0.8484 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.4788, allocations: 28.91 kB / 0.8484 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4788, allocations: 0 / 0.8484 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001455/0.4789, allocations: 61.61 kB / 0.8485 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4789, allocations: 8 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.479, allocations: 3.938 kB / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.479, allocations: 0 / 0.8485 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.4791, allocations: 7.984 kB / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.4791, allocations: 0 / 0.8485 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.4792, allocations: 12.03 kB / 0.8485 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.4792, allocations: 3.984 kB / 0.8485 GB, free: 14.32 MB / 0.5261 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 7.333e-05/0.4793, allocations: 105.8 kB / 0.8486 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.4793, allocations: 4 kB / 0.8486 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.4793, allocations: 11.06 kB / 0.8486 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4793, allocations: 0 / 0.8486 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4793, allocations: 4 kB / 0.8486 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4793, allocations: 0 / 0.8486 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.4795, allocations: 153.9 kB / 0.8488 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4795, allocations: 0 / 0.8488 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.4795, allocations: 11.98 kB / 0.8488 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4795, allocations: 3.984 kB / 0.8488 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4796, allocations: 7.922 kB / 0.8488 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4796, allocations: 0 / 0.8488 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4796, allocations: 0 / 0.8488 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.4798, allocations: 92.95 kB / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.4798, allocations: 81.09 kB / 0.849 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.4799, allocations: 7.938 kB / 0.849 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.281e-05/0.4799, allocations: 0 / 0.849 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.4799, allocations: 0 / 0.849 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4799, allocations: 11.92 kB / 0.849 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.135e-05/0.48, allocations: 79.31 kB / 0.849 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.48, allocations: 3.938 kB / 0.849 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000216/0.4802, allocations: 20 kB / 0.8491 GB, free: 13.64 MB / 0.5261 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 (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.0001778/0.4804, allocations: 123.2 kB / 0.8492 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.4806, allocations: 27.91 kB / 0.8492 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4806, allocations: 8.062 kB / 0.8492 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.4806, allocations: 15.98 kB / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.4808, allocations: 9.812 kB / 0.8492 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.4812, allocations: 118 kB / 0.8494 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.4814, allocations: 0.681 MB / 0.85 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.651e-05/0.4815, allocations: 8 kB / 0.85 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.4815, allocations: 15.42 kB / 0.85 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.4815, allocations: 0 / 0.85 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.002525/0.484, allocations: 0.7046 MB / 0.8507 GB, free: 11.89 MB / 0.5261 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)