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.001476/0.001477, allocations: 98.8 kB / 16.29 MB, free: 6.012 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.001722/0.001722, allocations: 183.1 kB / 17.22 MB, free: 5.621 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.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.787/1.787, allocations: 292.3 MB / 0.5495 GB, free: 17.44 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.001403/0.001403, allocations: 63.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2471, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5298/0.7769, allocations: 161.4 MB / 0.9416 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005036/0.782, allocations: 4.554 MB / 0.9461 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.7823, allocations: 11.94 kB / 0.9461 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.7828, allocations: 127 kB / 0.9462 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007612/0.7835, allocations: 322.5 kB / 0.9465 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007372/0.7843, allocations: 286.9 kB / 0.9468 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.7849, allocations: 0.5534 MB / 0.9473 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.7852, allocations: 205.1 kB / 0.9475 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.7861, allocations: 462.2 kB / 0.948 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.7863, allocations: 188.6 kB / 0.9482 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.7864, allocations: 16 kB / 0.9482 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.7866, allocations: 83.92 kB / 0.9483 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-05/0.7867, allocations: 87.78 kB / 0.9483 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.7868, allocations: 127.3 kB / 0.9485 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.7871, allocations: 299 kB / 0.9487 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7872, allocations: 0 / 0.9487 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7872, allocations: 0 / 0.9487 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7872, allocations: 0 / 0.9487 GB, free: 1.902 MB / 0.7325 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.0008114/0.788, allocations: 0.5362 MB / 0.9493 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.788, allocations: 8.031 kB / 0.9493 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.7881, allocations: 39.5 kB / 0.9493 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.7884, allocations: 275.4 kB / 0.9496 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.7885, allocations: 12 kB / 0.9496 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.7885, allocations: 20.56 kB / 0.9496 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.7889, allocations: 266.3 kB / 0.9499 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7889, allocations: 0 / 0.9499 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.789, allocations: 11.94 kB / 0.9499 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.789, allocations: 7.984 kB / 0.9499 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.7893, allocations: 149.8 kB / 0.95 GB, free: 484 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.7906, allocations: 1.364 MB / 0.9514 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.7908, allocations: 187.7 kB / 0.9515 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.791, allocations: 93.86 kB / 0.9516 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.7914, allocations: 117 kB / 0.9517 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.7914, allocations: 38.5 kB / 0.9518 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.7914, allocations: 0 / 0.9518 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.000594/0.792, allocations: 216.6 kB / 0.952 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.7921, allocations: 183.9 kB / 0.9522 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.7924, allocations: 287.6 kB / 0.9524 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.7924, allocations: 29.7 kB / 0.9525 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7925, allocations: 151.9 kB / 0.9526 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.7926, allocations: 39.52 kB / 0.9526 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.7927, allocations: 33.7 kB / 0.9527 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7929, allocations: 338.8 kB / 0.953 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.793, allocations: 43.91 kB / 0.953 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.7932, allocations: 119.6 kB / 0.9532 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.7934, allocations: 158.7 kB / 0.9533 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.7935, allocations: 0 / 0.9533 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003317/0.7938, allocations: 189.3 kB / 0.9535 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7938, allocations: 11.92 kB / 0.9535 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7938, allocations: 5.406 kB / 0.9535 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.7938, allocations: 0 / 0.9535 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.794, allocations: 31.92 kB / 0.9535 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.794, allocations: 4 kB / 0.9535 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.7942, allocations: 27.73 kB / 0.9536 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.7942, allocations: 11.94 kB / 0.9536 GB, free: 12.52 MB / 0.7481 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.0001227/0.7943, allocations: 145.9 kB / 0.9537 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7945, allocations: 35.64 kB / 0.9537 GB, free: 12.33 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.7948, allocations: 127.7 kB / 0.9539 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.7948, allocations: 4 kB / 0.9539 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.7948, allocations: 0 / 0.9539 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7948, allocations: 4 kB / 0.9539 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.7956, allocations: 0.773 MB / 0.9546 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7956, allocations: 5.625 kB / 0.9546 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.7957, allocations: 19.98 kB / 0.9547 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7957, allocations: 5.5 kB / 0.9547 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.7958, allocations: 0 / 0.9547 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.7958, allocations: 4 kB / 0.9547 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7958, allocations: 8.094 kB / 0.9547 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.7963, allocations: 347.4 kB / 0.955 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.7964, allocations: 104.8 kB / 0.9551 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.7964, allocations: 8 kB / 0.9551 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.7965, allocations: 7.984 kB / 0.9551 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.7966, allocations: 11.92 kB / 0.9551 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.7966, allocations: 9.875 kB / 0.9551 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002025/0.7968, allocations: 210.7 kB / 0.9553 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7968, allocations: 4.062 kB / 0.9553 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003403/0.7972, allocations: 59.84 kB / 0.9554 GB, free: 10.5 MB / 0.7481 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.0003234/0.7975, allocations: 144.2 kB / 0.9555 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.7978, allocations: 124 kB / 0.9557 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7978, allocations: 0 / 0.9557 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.798, allocations: 59.89 kB / 0.9557 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.7987, allocations: 118.5 kB / 0.9558 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.7994, allocations: 480.1 kB / 0.9563 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.7998, allocations: 0.7518 MB / 0.957 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.8, allocations: 53.86 kB / 0.9571 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.8, allocations: 23.38 kB / 0.9571 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.8, allocations: 3.938 kB / 0.9571 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of Templates: time 0.008721/0.8088, allocations: 4.234 MB / 0.9612 GB, free: 4.617 MB / 0.7481 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)