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.001484/0.001484, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001769/0.001769, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 296.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9354/0.9354, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 91.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3876, allocations: 86.99 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1584/0.546, allocations: 161.4 MB / 0.9246 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005247/0.5513, allocations: 4.553 MB / 0.9291 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.5516, allocations: 7.938 kB / 0.9291 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.5519, allocations: 127.1 kB / 0.9292 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000801/0.5528, allocations: 346.4 kB / 0.9295 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.5536, allocations: 281.6 kB / 0.9298 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0006499/0.5542, allocations: 0.5574 MB / 0.9304 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.5546, allocations: 197.1 kB / 0.9305 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009052/0.5555, allocations: 470.2 kB / 0.931 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002992/0.5558, allocations: 191.2 kB / 0.9312 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.5558, allocations: 16 kB / 0.9312 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.5561, allocations: 83.92 kB / 0.9313 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.5562, allocations: 87.72 kB / 0.9314 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.5563, allocations: 119.4 kB / 0.9315 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.5567, allocations: 305.7 kB / 0.9318 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5567, allocations: 4 kB / 0.9318 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5567, allocations: 0 / 0.9318 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5567, allocations: 0 / 0.9318 GB, free: 10.62 MB / 0.7012 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.0007643/0.5575, allocations: 0.5372 MB / 0.9323 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.5575, allocations: 8.031 kB / 0.9323 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.5576, allocations: 35.56 kB / 0.9323 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/0.558, allocations: 283.5 kB / 0.9326 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.558, allocations: 12 kB / 0.9326 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.5581, allocations: 16 kB / 0.9326 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.5585, allocations: 270.3 kB / 0.9329 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5585, allocations: 4 kB / 0.9329 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.5585, allocations: 11.92 kB / 0.9329 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.5586, allocations: 4 kB / 0.9329 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.5589, allocations: 151.8 kB / 0.9331 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.5602, allocations: 1.363 MB / 0.9344 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.5604, allocations: 191.7 kB / 0.9346 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.5606, allocations: 93.11 kB / 0.9347 GB, free: 7.375 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.561, allocations: 121 kB / 0.9348 GB, free: 7.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.561, allocations: 46.44 kB / 0.9348 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.561, allocations: 0 / 0.9348 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006042/0.5616, allocations: 205.4 kB / 0.935 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.5617, allocations: 188.5 kB / 0.9352 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.562, allocations: 294.9 kB / 0.9355 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.562, allocations: 25.7 kB / 0.9355 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.5621, allocations: 143.9 kB / 0.9356 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.5622, allocations: 43.39 kB / 0.9357 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.5622, allocations: 33.7 kB / 0.9357 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5623, allocations: 334.8 kB / 0.936 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.5625, allocations: 47.97 kB / 0.9361 GB, free: 5.816 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.5627, allocations: 111.6 kB / 0.9362 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.563, allocations: 166.6 kB / 0.9363 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.563, allocations: 0 / 0.9363 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003728/0.5633, allocations: 189.2 kB / 0.9365 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5634, allocations: 15.92 kB / 0.9365 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5634, allocations: 0 / 0.9365 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5634, allocations: 4 kB / 0.9365 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.5635, allocations: 27.98 kB / 0.9366 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.5636, allocations: 4.156 kB / 0.9366 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.5637, allocations: 31.73 kB / 0.9366 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.5638, allocations: 12 kB / 0.9366 GB, free: 5.207 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.5639, allocations: 145.3 kB / 0.9367 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.564, allocations: 31.64 kB / 0.9368 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.5643, allocations: 131 kB / 0.9369 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5644, allocations: 0 / 0.9369 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5644, allocations: 8 kB / 0.9369 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.5645, allocations: 108.8 kB / 0.937 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.5645, allocations: 12.17 kB / 0.937 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.5648, allocations: 8 kB / 0.937 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.5649, allocations: 11.92 kB / 0.937 GB, free: 4.727 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005348/0.5654, allocations: 0.6143 MB / 0.9376 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006324/0.5661, allocations: 0.7451 MB / 0.9384 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001433/0.5662, allocations: 60.02 kB / 0.9384 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001778/0.5664, allocations: 213.9 kB / 0.9386 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of Backend: time 4.41e-07/0.5664, allocations: 0 / 0.9386 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.5676, allocations: 183.9 kB / 0.9388 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of SimCode: time 0.001311/0.5689, allocations: 1.006 MB / 0.9398 GB, free: 1.84 MB / 0.7012 GB Notification: Performance of Templates: time 0.008689/0.5776, allocations: 4.463 MB / 0.9441 GB, free: 13.45 MB / 0.7169 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)