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.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001113/0.001113, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 282.7 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9343/0.9343, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 93.31 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1557, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5062/0.662, allocations: 159.1 MB / 0.8348 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.6664, allocations: 4.558 MB / 0.8393 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.6669, allocations: 8.938 kB / 0.8393 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.6673, allocations: 95.83 kB / 0.8394 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.6681, allocations: 313.5 kB / 0.8396 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.6688, allocations: 246.9 kB / 0.8399 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007102/0.6695, allocations: 0.7978 MB / 0.8407 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.6698, allocations: 174.9 kB / 0.8408 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008795/0.6707, allocations: 423.8 kB / 0.8412 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.6709, allocations: 196.5 kB / 0.8414 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.671, allocations: 11.06 kB / 0.8414 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.6711, allocations: 74.25 kB / 0.8415 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/0.6712, allocations: 83.3 kB / 0.8416 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.6714, allocations: 108.1 kB / 0.8417 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.6717, allocations: 285 kB / 0.842 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6717, allocations: 2.25 kB / 0.842 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.585e-06/0.6717, allocations: 0 / 0.842 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6717, allocations: 3.938 kB / 0.842 GB, free: 15.1 MB / 0.5762 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.0007629/0.6725, allocations: 0.5386 MB / 0.8425 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.6725, allocations: 8.25 kB / 0.8425 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.6726, allocations: 29.41 kB / 0.8425 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.6729, allocations: 278.2 kB / 0.8428 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6729, allocations: 11.81 kB / 0.8428 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.673, allocations: 19.25 kB / 0.8428 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/0.6734, allocations: 272.3 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6734, allocations: 1.375 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.6735, allocations: 9.812 kB / 0.8431 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6735, allocations: 8.109 kB / 0.8431 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.6738, allocations: 154 kB / 0.8432 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.6753, allocations: 1.365 MB / 0.8446 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.6756, allocations: 178.4 kB / 0.8447 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.6758, allocations: 91.02 kB / 0.8448 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003582/0.6761, allocations: 123.9 kB / 0.845 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.6762, allocations: 38.12 kB / 0.845 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.6762, allocations: 0 / 0.845 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006181/0.6768, allocations: 214.2 kB / 0.8452 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.6769, allocations: 182.2 kB / 0.8454 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6772, allocations: 289.3 kB / 0.8456 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.6773, allocations: 28.27 kB / 0.8457 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6774, allocations: 153.2 kB / 0.8458 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.6774, allocations: 41.36 kB / 0.8459 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.6775, allocations: 34.83 kB / 0.8459 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6776, allocations: 336.2 kB / 0.8462 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.6778, allocations: 44.59 kB / 0.8463 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.678, allocations: 130.3 kB / 0.8464 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.6782, allocations: 152.5 kB / 0.8465 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6783, allocations: 0 / 0.8465 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003709/0.6786, allocations: 190.3 kB / 0.8467 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6787, allocations: 10.09 kB / 0.8467 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6787, allocations: 1.656 kB / 0.8467 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6787, allocations: 3.281 kB / 0.8467 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6788, allocations: 35.2 kB / 0.8468 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.6789, allocations: 3.906 kB / 0.8468 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.679, allocations: 22.92 kB / 0.8468 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.6791, allocations: 13.81 kB / 0.8468 GB, free: 11.06 MB / 0.5762 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.0001371/0.6792, allocations: 152 kB / 0.8469 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.6793, allocations: 27.56 kB / 0.847 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/0.6797, allocations: 130.5 kB / 0.8471 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6797, allocations: 9.531 kB / 0.8471 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.6797, allocations: 2.688 kB / 0.8471 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6797, allocations: 1.188 kB / 0.8471 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.6807, allocations: 0.7806 MB / 0.8479 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6807, allocations: 1.281 kB / 0.8479 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.6809, allocations: 22.3 kB / 0.8479 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6809, allocations: 1.25 kB / 0.8479 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.6809, allocations: 2.562 kB / 0.8479 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.681, allocations: 5.656 kB / 0.8479 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.681, allocations: 1.938 kB / 0.8479 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.6817, allocations: 345.6 kB / 0.8482 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6818, allocations: 107.3 kB / 0.8483 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.6819, allocations: 7.047 kB / 0.8483 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.6821, allocations: 9.281 kB / 0.8483 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.6821, allocations: 13.17 kB / 0.8484 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.6822, allocations: 8.938 kB / 0.8484 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002608/0.6824, allocations: 207.6 kB / 0.8486 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.164e-06/0.6824, allocations: 0 / 0.8486 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004882/0.6829, allocations: 67.3 kB / 0.8486 GB, free: 9.469 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003759/0.6833, allocations: 133.5 kB / 0.8488 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004413/0.6838, allocations: 129.6 kB / 0.8489 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6838, allocations: 0 / 0.8489 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.684, allocations: 53.72 kB / 0.8489 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.685, allocations: 119.6 kB / 0.849 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.6862, allocations: 0.5471 MB / 0.8496 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.6866, allocations: 0.7623 MB / 0.8503 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002/0.6868, allocations: 51.52 kB / 0.8504 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.137e-05/0.6868, allocations: 23.28 kB / 0.8504 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.6869, allocations: 0 / 0.8504 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of Templates: time 0.009673/0.6965, allocations: 4.012 MB / 0.8543 GB, free: 6.078 MB / 0.5762 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)