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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5489 GB, free: 12.87 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 69.3 kB / 0.6715 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7351/0.987, allocations: 161.4 MB / 0.9409 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005321/0.9923, allocations: 4.55 MB / 0.9454 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007272/0.9931, allocations: 14.56 kB / 0.9454 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.9939, allocations: 126.4 kB / 0.9455 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.9953, allocations: 321.1 kB / 0.9458 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.9964, allocations: 284.1 kB / 0.9461 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.9976, allocations: 0.5581 MB / 0.9466 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005812/0.9982, allocations: 198.3 kB / 0.9468 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.9998, allocations: 460 kB / 0.9473 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/1, allocations: 189.7 kB / 0.9474 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/1, allocations: 15.81 kB / 0.9475 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/1, allocations: 81.38 kB / 0.9475 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/1.001, allocations: 85.17 kB / 0.9476 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/1.001, allocations: 121 kB / 0.9477 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005407/1.001, allocations: 301.7 kB / 0.948 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.001, allocations: 0 / 0.948 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/1.001, allocations: 0 / 0.948 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.001, allocations: 1.125 kB / 0.948 GB, free: 1.383 MB / 0.7169 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.001139/1.003, allocations: 0.5311 MB / 0.9485 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/1.003, allocations: 9 kB / 0.9486 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.674e-05/1.003, allocations: 29.28 kB / 0.9486 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/1.003, allocations: 272.3 kB / 0.9488 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/1.003, allocations: 18.12 kB / 0.9489 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.455e-05/1.003, allocations: 19.5 kB / 0.9489 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/1.004, allocations: 268.4 kB / 0.9491 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/1.004, allocations: 1.094 kB / 0.9491 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.095e-05/1.004, allocations: 9.281 kB / 0.9491 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/1.004, allocations: 4.969 kB / 0.9491 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/1.005, allocations: 145.3 kB / 0.9493 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/1.006, allocations: 1.374 MB / 0.9506 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/1.007, allocations: 181.3 kB / 0.9508 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/1.007, allocations: 98.72 kB / 0.9509 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/1.007, allocations: 115.5 kB / 0.951 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.007, allocations: 49.77 kB / 0.9511 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/1.007, allocations: 0 / 0.9511 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007559/1.008, allocations: 207.3 kB / 0.9512 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/1.008, allocations: 190.4 kB / 0.9514 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.009, allocations: 288.8 kB / 0.9517 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.009, allocations: 27.27 kB / 0.9517 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.009, allocations: 145.3 kB / 0.9519 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/1.009, allocations: 42.42 kB / 0.9519 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/1.009, allocations: 32.86 kB / 0.9519 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.009, allocations: 337.8 kB / 0.9523 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/1.009, allocations: 54.7 kB / 0.9523 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/1.009, allocations: 113 kB / 0.9524 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/1.01, allocations: 159.1 kB / 0.9526 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/1.01, allocations: 5.062 kB / 0.9526 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003791/1.01, allocations: 185.8 kB / 0.9528 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/1.01, allocations: 11.97 kB / 0.9528 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.01, allocations: 1.219 kB / 0.9528 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.01, allocations: 3.844 kB / 0.9528 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/1.01, allocations: 28.28 kB / 0.9528 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.01, allocations: 10.69 kB / 0.9528 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/1.01, allocations: 33.83 kB / 0.9528 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/1.01, allocations: 9.672 kB / 0.9529 GB, free: 14.02 MB / 0.7325 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.0001455/1.011, allocations: 143.1 kB / 0.953 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/1.011, allocations: 32 kB / 0.953 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003416/1.011, allocations: 133.4 kB / 0.9531 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.011, allocations: 5.344 kB / 0.9532 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/1.011, allocations: 2.25 kB / 0.9532 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.011, allocations: 3.547 kB / 0.9532 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008577/1.012, allocations: 0.7636 MB / 0.9539 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.012, allocations: 5.156 kB / 0.9539 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.012, allocations: 29.48 kB / 0.9539 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/1.012, allocations: 2.656 kB / 0.9539 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/1.012, allocations: 2.703 kB / 0.9539 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.012, allocations: 2.844 kB / 0.9539 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.012, allocations: 0.8438 kB / 0.9539 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/1.013, allocations: 342.3 kB / 0.9543 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/1.013, allocations: 107.8 kB / 0.9544 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/1.013, allocations: 4.328 kB / 0.9544 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.013, allocations: 18.89 kB / 0.9544 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/1.013, allocations: 11.38 kB / 0.9544 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.013, allocations: 7 kB / 0.9544 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002286/1.013, allocations: 209.9 kB / 0.9546 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.013, allocations: 0 / 0.9546 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003792/1.014, allocations: 56.72 kB / 0.9547 GB, free: 12.79 MB / 0.7325 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.0003616/1.014, allocations: 147.8 kB / 0.9548 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004023/1.015, allocations: 128.6 kB / 0.9549 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.015, allocations: 0 / 0.9549 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/1.015, allocations: 58.94 kB / 0.955 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/1.016, allocations: 136.4 kB / 0.9551 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/1.017, allocations: 488.6 kB / 0.9556 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/1.017, allocations: 0.756 MB / 0.9563 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001775/1.017, allocations: 52.58 kB / 0.9564 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/1.017, allocations: 21.59 kB / 0.9564 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/1.017, allocations: 0 / 0.9564 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of Templates: time 0.009844/1.027, allocations: 4.23 MB / 0.9605 GB, free: 11.38 MB / 0.7325 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)