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.001171/0.001171, allocations: 104.9 kB / 16.27 MB, free: 5.906 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.001216/0.001216, allocations: 190.8 kB / 17.2 MB, free: 5.547 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.413/1.413, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.928/1.928, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.003315/0.003315, allocations: 71.19 kB / 0.6722 GB, free: 6.578 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.301, allocations: 114.6 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5495/0.8506, allocations: 161.4 MB / 0.9416 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005263/0.8559, allocations: 4.55 MB / 0.946 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.8563, allocations: 11.94 kB / 0.9461 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.8568, allocations: 123.1 kB / 0.9462 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000769/0.8576, allocations: 330.4 kB / 0.9465 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.8583, allocations: 278.3 kB / 0.9468 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005595/0.8589, allocations: 0.5573 MB / 0.9473 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.8592, allocations: 209.1 kB / 0.9475 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008814/0.8601, allocations: 454.3 kB / 0.9479 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.8604, allocations: 187.3 kB / 0.9481 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.8604, allocations: 16 kB / 0.9481 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.8606, allocations: 79.88 kB / 0.9482 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.8607, allocations: 93.17 kB / 0.9483 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.8608, allocations: 119.4 kB / 0.9484 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.8612, allocations: 295 kB / 0.9487 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8612, allocations: 3.984 kB / 0.9487 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.042e-06/0.8612, allocations: 0 / 0.9487 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.8612, allocations: 0 / 0.9487 GB, free: 1.949 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.0008075/0.862, allocations: 0.5362 MB / 0.9492 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8621, allocations: 8.031 kB / 0.9492 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.965e-05/0.8622, allocations: 31.56 kB / 0.9493 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.8625, allocations: 271.4 kB / 0.9495 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.8626, allocations: 12 kB / 0.9495 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.8626, allocations: 24 kB / 0.9495 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.863, allocations: 266.3 kB / 0.9498 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8631, allocations: 0 / 0.9498 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.8631, allocations: 8.5 kB / 0.9498 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.8631, allocations: 8 kB / 0.9498 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.8634, allocations: 159.7 kB / 0.95 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.8647, allocations: 1.364 MB / 0.9513 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.865, allocations: 183.7 kB / 0.9515 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.8652, allocations: 93.11 kB / 0.9516 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.8656, allocations: 131.1 kB / 0.9517 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.8656, allocations: 30.56 kB / 0.9517 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.8656, allocations: 3.938 kB / 0.9517 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006123/0.8662, allocations: 217.6 kB / 0.9519 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.8663, allocations: 183.9 kB / 0.9521 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.8666, allocations: 287.6 kB / 0.9524 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.8666, allocations: 25.7 kB / 0.9524 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.8668, allocations: 155.8 kB / 0.9526 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.8668, allocations: 35.47 kB / 0.9526 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.8669, allocations: 33.7 kB / 0.9526 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.867, allocations: 334.8 kB / 0.9529 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.8671, allocations: 43.91 kB / 0.953 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.8673, allocations: 124.2 kB / 0.9531 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.8676, allocations: 161 kB / 0.9533 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8676, allocations: 0 / 0.9533 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003698/0.868, allocations: 189.3 kB / 0.9534 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.868, allocations: 8.719 kB / 0.9534 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.868, allocations: 4 kB / 0.9534 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.8681, allocations: 4 kB / 0.9534 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.8682, allocations: 31.92 kB / 0.9535 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8682, allocations: 0 / 0.9535 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.8684, allocations: 33.14 kB / 0.9535 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.8684, allocations: 8 kB / 0.9535 GB, free: 12.56 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.0001305/0.8686, allocations: 149.9 kB / 0.9537 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.8687, allocations: 31.66 kB / 0.9537 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000334/0.869, allocations: 129.2 kB / 0.9538 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8691, allocations: 0 / 0.9538 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.8691, allocations: 4 kB / 0.9538 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.8691, allocations: 4.031 kB / 0.9538 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008127/0.8699, allocations: 0.7769 MB / 0.9546 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8699, allocations: 0 / 0.9546 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.87, allocations: 23.98 kB / 0.9546 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.87, allocations: 0 / 0.9546 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8701, allocations: 4 kB / 0.9546 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.8701, allocations: 8.078 kB / 0.9546 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8701, allocations: 8 kB / 0.9546 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.8706, allocations: 340.8 kB / 0.9549 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-05/0.8707, allocations: 112.8 kB / 0.9551 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.8707, allocations: 4.625 kB / 0.9551 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.8709, allocations: 8 kB / 0.9551 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.8709, allocations: 11.92 kB / 0.9551 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.8709, allocations: 8 kB / 0.9551 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001841/0.8711, allocations: 214 kB / 0.9553 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8711, allocations: 0 / 0.9553 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003254/0.8715, allocations: 59.83 kB / 0.9553 GB, free: 10.54 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.0003159/0.8718, allocations: 137.4 kB / 0.9555 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.8722, allocations: 128 kB / 0.9556 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8722, allocations: 0 / 0.9556 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.8723, allocations: 55.91 kB / 0.9557 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.8731, allocations: 128.7 kB / 0.9558 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.8739, allocations: 0.5059 MB / 0.9563 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.8742, allocations: 0.7596 MB / 0.957 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.8743, allocations: 19.44 kB / 0.957 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.8743, allocations: 0 / 0.957 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of Templates: time 0.005952/0.8802, allocations: 3.796 MB / 0.9607 GB, free: 5.09 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)