Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7589/0.7589, allocations: 140.1 MB / 156 MB, free: 5.152 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.001019/0.001019, allocations: 174.9 kB / 188.5 MB, free: 15.82 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.581/1.581, allocations: 205.4 MB / 426.3 MB, free: 8.461 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.0008692/0.0008693, allocations: 82.38 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.0027/0.0027, allocations: 277.1 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005547, allocations: 19.98 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5832/0.5838, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.455/6.039, allocations: 2.031 GB / 2.77 GB, free: 179.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/6.039, allocations: 91.95 kB / 2.77 GB, free: 179.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.8438/6.883, allocations: 208.2 MB / 2.974 GB, free: 188.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.535e-06/6.883, allocations: 3.609 kB / 2.974 GB, free: 188.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.206e-05/6.883, allocations: 10.47 kB / 2.974 GB, free: 188.7 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.00146/6.885, allocations: 0.5832 MB / 2.974 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/6.885, allocations: 12.81 kB / 2.974 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/6.885, allocations: 34.12 kB / 2.974 GB, free: 188.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/6.885, allocations: 281.5 kB / 2.975 GB, free: 188.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/6.886, allocations: 15.56 kB / 2.975 GB, free: 188.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.228e-05/6.886, allocations: 19.34 kB / 2.975 GB, free: 188.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/6.886, allocations: 267 kB / 2.975 GB, free: 188 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/6.886, allocations: 0 / 2.975 GB, free: 188 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/6.886, allocations: 7.781 kB / 2.975 GB, free: 188 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/6.886, allocations: 11.16 kB / 2.975 GB, free: 188 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/6.887, allocations: 152.2 kB / 2.975 GB, free: 188 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/6.888, allocations: 1.364 MB / 2.976 GB, free: 186.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/6.889, allocations: 182.9 kB / 2.977 GB, free: 186.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/6.889, allocations: 105.1 kB / 2.977 GB, free: 186.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/6.889, allocations: 109.4 kB / 2.977 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/6.889, allocations: 44.8 kB / 2.977 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 3.356e-06/6.889, allocations: 2.5 kB / 2.977 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0006973/6.89, allocations: 211.6 kB / 2.977 GB, free: 186.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/6.89, allocations: 186.1 kB / 2.977 GB, free: 186.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/6.89, allocations: 286.9 kB / 2.977 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/6.89, allocations: 31.64 kB / 2.977 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/6.89, allocations: 148.4 kB / 2.978 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/6.89, allocations: 39.94 kB / 2.978 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/6.89, allocations: 6.969 kB / 2.978 GB, free: 186.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/6.89, allocations: 332.1 kB / 2.978 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/6.891, allocations: 48.19 kB / 2.978 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/6.891, allocations: 135.3 kB / 2.978 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/6.891, allocations: 160.9 kB / 2.978 GB, free: 185.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/6.891, allocations: 0 / 2.978 GB, free: 185.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003931/6.892, allocations: 200.1 kB / 2.978 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/6.892, allocations: 3.656 kB / 2.978 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/6.892, allocations: 7.062 kB / 2.978 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/6.892, allocations: 3.719 kB / 2.978 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/6.892, allocations: 30.31 kB / 2.979 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/6.892, allocations: 11.27 kB / 2.979 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/6.892, allocations: 34.09 kB / 2.979 GB, free: 185.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/6.892, allocations: 7.906 kB / 2.979 GB, free: 185.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001677/6.892, allocations: 143.2 kB / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/6.892, allocations: 32.73 kB / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/6.893, allocations: 137.6 kB / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/6.893, allocations: 0 / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/6.893, allocations: 7.406 kB / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/6.893, allocations: 0 / 2.979 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/6.894, allocations: 0.7656 MB / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.894, allocations: 0 / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/6.894, allocations: 25.73 kB / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/6.894, allocations: 9.906 kB / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/6.894, allocations: 11.09 kB / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/6.894, allocations: 0 / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/6.894, allocations: 0 / 2.98 GB, free: 184.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/6.895, allocations: 347.1 kB / 2.98 GB, free: 184.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/6.895, allocations: 107.7 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/6.895, allocations: 7.234 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/6.895, allocations: 13.42 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/6.895, allocations: 20.12 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/6.895, allocations: 3.719 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002141/6.895, allocations: 209 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/6.895, allocations: 0 / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008645/6.896, allocations: 142.7 kB / 2.98 GB, free: 184.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.00213/6.898, allocations: 0.9936 MB / 2.981 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004219/6.899, allocations: 126.9 kB / 2.982 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.899, allocations: 0 / 2.982 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/6.899, allocations: 62.89 kB / 2.982 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/6.9, allocations: 131.3 kB / 2.982 GB, free: 184.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/6.901, allocations: 0.5418 MB / 2.982 GB, free: 183.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/6.901, allocations: 0.7563 MB / 2.983 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002138/6.902, allocations: 45.58 kB / 2.983 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/6.902, allocations: 24.28 kB / 2.983 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of SimCode: time 6.31e-07/6.902, allocations: 0 / 2.983 GB, free: 183.1 MB / 0.6667 GB Notification: Performance of Templates: time 0.03269/6.934, allocations: 16.24 MB / 2.999 GB, free: 182.3 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)