Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.7 MB / 302.3 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 182.2 kB / 371.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 89.69 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.091e-05/5.093e-05, allocations: 12 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.009/6.317, allocations: 2.062 GB / 3.042 GB, free: 180.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/6.318, allocations: 80.94 kB / 3.042 GB, free: 180.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.057/7.374, allocations: 208.4 MB / 3.245 GB, free: 227.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.352e-06/7.375, allocations: 0 / 3.245 GB, free: 227.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.377e-05/7.375, allocations: 10.28 kB / 3.245 GB, free: 227.1 MB / 0.948 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.001081/7.376, allocations: 0.5596 MB / 3.246 GB, free: 226.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/7.376, allocations: 13.91 kB / 3.246 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/7.376, allocations: 38.08 kB / 3.246 GB, free: 226.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/7.376, allocations: 276 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/7.376, allocations: 14.66 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/7.376, allocations: 22.77 kB / 3.246 GB, free: 226.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/7.377, allocations: 243 kB / 3.246 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/7.377, allocations: 0 / 3.246 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/7.377, allocations: 6.969 kB / 3.246 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/7.377, allocations: 6.5 kB / 3.246 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/7.377, allocations: 112.7 kB / 3.246 GB, free: 226.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/7.378, allocations: 1.361 MB / 3.248 GB, free: 225.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/7.378, allocations: 165 kB / 3.248 GB, free: 225.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/7.379, allocations: 77.42 kB / 3.248 GB, free: 225.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002512/7.379, allocations: 118 kB / 3.248 GB, free: 225 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/7.379, allocations: 44.75 kB / 3.248 GB, free: 225 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/7.379, allocations: 0 / 3.248 GB, free: 225 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0003582/7.379, allocations: 128.2 kB / 3.248 GB, free: 225 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/7.379, allocations: 188.1 kB / 3.248 GB, free: 224.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/7.38, allocations: 259.7 kB / 3.249 GB, free: 224.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/7.38, allocations: 32.27 kB / 3.249 GB, free: 224.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/7.38, allocations: 148.8 kB / 3.249 GB, free: 224.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/7.38, allocations: 34.69 kB / 3.249 GB, free: 224.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/7.38, allocations: 3.188 kB / 3.249 GB, free: 224.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/7.38, allocations: 339.1 kB / 3.249 GB, free: 224.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.15e-05/7.38, allocations: 27.47 kB / 3.249 GB, free: 224.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/7.38, allocations: 110.3 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/7.38, allocations: 48.73 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/7.38, allocations: 0 / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002414/7.38, allocations: 155.9 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/7.38, allocations: 13.42 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/7.38, allocations: 14.41 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/7.38, allocations: 3.031 kB / 3.249 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/7.38, allocations: 33.12 kB / 3.25 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/7.381, allocations: 2.938 kB / 3.25 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/7.381, allocations: 31.55 kB / 3.25 GB, free: 224.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/7.381, allocations: 10.97 kB / 3.25 GB, free: 224.1 MB / 0.948 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 () * 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 6.962e-05/7.381, allocations: 115.8 kB / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/7.381, allocations: 22.03 kB / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/7.381, allocations: 102.2 kB / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/7.381, allocations: 2.75 kB / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/7.381, allocations: 2.969 kB / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/7.381, allocations: 0 / 3.25 GB, free: 223.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006749/7.382, allocations: 0.7773 MB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/7.382, allocations: 0 / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/7.382, allocations: 29.83 kB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/7.382, allocations: 3.125 kB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/7.382, allocations: 3.281 kB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/7.382, allocations: 3 kB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/7.382, allocations: 3.281 kB / 3.251 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/7.382, allocations: 349.3 kB / 3.251 GB, free: 223 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/7.382, allocations: 114.8 kB / 3.251 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/7.383, allocations: 3.281 kB / 3.251 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/7.383, allocations: 22.78 kB / 3.251 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/7.383, allocations: 9.641 kB / 3.251 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/7.383, allocations: 3.281 kB / 3.251 GB, free: 222.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001809/7.383, allocations: 208 kB / 3.251 GB, free: 222.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/7.383, allocations: 0 / 3.251 GB, free: 222.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006981/7.384, allocations: 141.7 kB / 3.251 GB, free: 222.8 MB / 0.948 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 () * 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.001663/7.385, allocations: 0.9865 MB / 3.252 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002176/7.386, allocations: 90.73 kB / 3.252 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/7.386, allocations: 0 / 3.252 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/7.386, allocations: 47.84 kB / 3.252 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/7.386, allocations: 132.8 kB / 3.253 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006382/7.387, allocations: 359.8 kB / 3.253 GB, free: 222.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/7.387, allocations: 0.7617 MB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001873/7.387, allocations: 47.08 kB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/7.388, allocations: 20.34 kB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/7.388, allocations: 2.969 kB / 3.254 GB, free: 221.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02521/7.413, allocations: 18.83 MB / 3.272 GB, free: 220.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)