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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 269.8 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9534/0.9534, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 16.72 kB / 0.598 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4255/0.5614, allocations: 146.5 MB / 0.8275 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.5657, allocations: 4.226 MB / 0.8317 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.5659, allocations: 13.44 kB / 0.8317 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.5663, allocations: 89.34 kB / 0.8318 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006915/0.567, allocations: 247.5 kB / 0.832 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.5676, allocations: 232.7 kB / 0.8322 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.5684, allocations: 0.6615 MB / 0.8329 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.5687, allocations: 152.4 kB / 0.833 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007602/0.5694, allocations: 367.1 kB / 0.8334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.5697, allocations: 181.3 kB / 0.8335 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.5698, allocations: 13.53 kB / 0.8336 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.57, allocations: 68.97 kB / 0.8336 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.5701, allocations: 78.02 kB / 0.8337 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.347e-05/0.5701, allocations: 72.3 kB / 0.8338 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.5704, allocations: 205.4 kB / 0.834 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5704, allocations: 0 / 0.834 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5704, allocations: 0 / 0.834 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5704, allocations: 0 / 0.834 GB, free: 11.21 MB / 0.5606 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.0007716/0.5712, allocations: 0.4997 MB / 0.8344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5712, allocations: 9.438 kB / 0.8345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5713, allocations: 35.3 kB / 0.8345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.5717, allocations: 272.2 kB / 0.8347 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.5717, allocations: 14.62 kB / 0.8348 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.5717, allocations: 18.53 kB / 0.8348 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.5721, allocations: 275.9 kB / 0.835 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.5721, allocations: 0 / 0.835 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.5722, allocations: 9.891 kB / 0.835 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.5722, allocations: 9.75 kB / 0.8351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.5725, allocations: 159.6 kB / 0.8352 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.5736, allocations: 1.368 MB / 0.8365 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.5739, allocations: 196.9 kB / 0.8367 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.5741, allocations: 96.48 kB / 0.8368 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003197/0.5744, allocations: 127 kB / 0.8369 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5744, allocations: 47.39 kB / 0.837 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.5744, allocations: 0 / 0.837 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005535/0.575, allocations: 224.6 kB / 0.8372 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.882e-05/0.5751, allocations: 187.2 kB / 0.8374 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.5753, allocations: 286.4 kB / 0.8377 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.5754, allocations: 25.7 kB / 0.8377 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.5755, allocations: 151 kB / 0.8378 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.5755, allocations: 37.97 kB / 0.8379 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.5755, allocations: 6.812 kB / 0.8379 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5756, allocations: 335.4 kB / 0.8382 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.5758, allocations: 45.84 kB / 0.8382 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.5759, allocations: 124.2 kB / 0.8384 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5761, allocations: 66.78 kB / 0.8384 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5761, allocations: 0 / 0.8384 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003332/0.5764, allocations: 204.1 kB / 0.8386 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5764, allocations: 10.62 kB / 0.8386 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5764, allocations: 3.938 kB / 0.8386 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.5765, allocations: 3.281 kB / 0.8386 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.5766, allocations: 32.05 kB / 0.8387 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5766, allocations: 3.344 kB / 0.8387 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5768, allocations: 40.19 kB / 0.8387 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.5768, allocations: 6.094 kB / 0.8387 GB, free: 7.5 MB / 0.5606 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.0001238/0.5769, allocations: 150.5 kB / 0.8388 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.5771, allocations: 28.42 kB / 0.8389 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.5774, allocations: 142.4 kB / 0.839 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5774, allocations: 0 / 0.839 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5774, allocations: 3.375 kB / 0.839 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5774, allocations: 7.281 kB / 0.839 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007588/0.5782, allocations: 0.7719 MB / 0.8398 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5782, allocations: 2.969 kB / 0.8398 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.5783, allocations: 22.27 kB / 0.8398 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5783, allocations: 11.16 kB / 0.8398 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5783, allocations: 3.312 kB / 0.8398 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5783, allocations: 3.312 kB / 0.8398 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5783, allocations: 2.719 kB / 0.8398 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.5788, allocations: 356.4 kB / 0.8402 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.5789, allocations: 113.3 kB / 0.8403 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.5789, allocations: 6.578 kB / 0.8403 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5791, allocations: 13.03 kB / 0.8403 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5791, allocations: 14.55 kB / 0.8403 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.5791, allocations: 3.375 kB / 0.8403 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001687/0.5793, allocations: 212.2 kB / 0.8405 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5793, allocations: 0 / 0.8405 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003142/0.5796, allocations: 57.95 kB / 0.8406 GB, free: 6.094 MB / 0.5606 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.0002773/0.5799, allocations: 139.5 kB / 0.8407 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003018/0.5802, allocations: 130.2 kB / 0.8408 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5802, allocations: 3.938 kB / 0.8408 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.5804, allocations: 68.22 kB / 0.8409 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.5811, allocations: 131.2 kB / 0.841 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.5818, allocations: 0.5465 MB / 0.8415 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.5821, allocations: 0.7631 MB / 0.8423 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.5823, allocations: 50.06 kB / 0.8423 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.5823, allocations: 22.91 kB / 0.8424 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5823, allocations: 0 / 0.8424 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of Templates: time 0.006982/0.5893, allocations: 3.877 MB / 0.8461 GB, free: 2.781 MB / 0.5606 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)