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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 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.001199/0.001199, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.759/1.759, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001497/0.001497, allocations: 68.33 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.7035/0.951, allocations: 161.4 MB / 0.941 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006384/0.9575, allocations: 4.551 MB / 0.9455 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006068/0.9581, allocations: 9.469 kB / 0.9455 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.9586, allocations: 125.9 kB / 0.9456 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009973/0.9596, allocations: 324.7 kB / 0.9459 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.9606, allocations: 282.7 kB / 0.9462 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.9614, allocations: 0.5522 MB / 0.9467 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.9619, allocations: 208.4 kB / 0.9469 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.9633, allocations: 451.3 kB / 0.9474 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.9637, allocations: 194.6 kB / 0.9476 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.9637, allocations: 17.19 kB / 0.9476 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.964, allocations: 75.36 kB / 0.9476 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.9642, allocations: 90.8 kB / 0.9477 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.9644, allocations: 117.2 kB / 0.9478 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.9649, allocations: 302.7 kB / 0.9481 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9649, allocations: 0 / 0.9481 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9649, allocations: 0 / 0.9481 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.9649, allocations: 0.9062 kB / 0.9481 GB, free: 1.297 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.00142/0.9663, allocations: 0.535 MB / 0.9487 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.369e-05/0.9664, allocations: 9.688 kB / 0.9487 GB, free: 16.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.307e-05/0.9665, allocations: 52.28 kB / 0.9487 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.9666, allocations: 29.38 kB / 0.9487 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004681/0.9671, allocations: 271.9 kB / 0.949 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.9671, allocations: 12.16 kB / 0.949 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.9672, allocations: 27.2 kB / 0.949 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.9679, allocations: 260.3 kB / 0.9493 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.9679, allocations: 4.938 kB / 0.9493 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.9679, allocations: 9.406 kB / 0.9493 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.968, allocations: 5.062 kB / 0.9493 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.9685, allocations: 154.8 kB / 0.9495 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.9706, allocations: 1.376 MB / 0.9508 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.9711, allocations: 186.4 kB / 0.951 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.9713, allocations: 92.56 kB / 0.9511 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/0.9718, allocations: 116.6 kB / 0.9512 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.9718, allocations: 44.91 kB / 0.9512 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.9718, allocations: 4 kB / 0.9512 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0009152/0.9728, allocations: 202.1 kB / 0.9514 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.9729, allocations: 186.5 kB / 0.9516 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/0.9734, allocations: 289.4 kB / 0.9519 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.9734, allocations: 35.2 kB / 0.9519 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.9736, allocations: 145.6 kB / 0.952 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.9736, allocations: 37.7 kB / 0.9521 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.9737, allocations: 32.58 kB / 0.9521 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.9739, allocations: 337.7 kB / 0.9524 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.9741, allocations: 47.58 kB / 0.9525 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.9743, allocations: 115.5 kB / 0.9526 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.9746, allocations: 159.7 kB / 0.9527 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9746, allocations: 0 / 0.9527 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004224/0.9751, allocations: 192.8 kB / 0.9529 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.9751, allocations: 9.656 kB / 0.9529 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.9751, allocations: 2.062 kB / 0.9529 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.9752, allocations: 2.266 kB / 0.9529 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.9753, allocations: 36.17 kB / 0.953 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.9753, allocations: 4.875 kB / 0.953 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.9755, allocations: 29.77 kB / 0.953 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.9756, allocations: 6.969 kB / 0.953 GB, free: 13.9 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.0001349/0.9757, allocations: 153.9 kB / 0.9532 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.9758, allocations: 27.75 kB / 0.9532 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.9762, allocations: 132.8 kB / 0.9533 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.9762, allocations: 4.562 kB / 0.9533 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9762, allocations: 2.375 kB / 0.9533 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.9762, allocations: 1.281 kB / 0.9533 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.9771, allocations: 0.7729 MB / 0.9541 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.9771, allocations: 1.625 kB / 0.9541 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.9772, allocations: 25.78 kB / 0.9541 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.9772, allocations: 5.406 kB / 0.9541 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.9772, allocations: 6.438 kB / 0.9541 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.9772, allocations: 6.375 kB / 0.9541 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.9773, allocations: 1.688 kB / 0.9541 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.9779, allocations: 343.4 kB / 0.9544 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.978, allocations: 110.5 kB / 0.9545 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.978, allocations: 1.719 kB / 0.9545 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.9782, allocations: 11.12 kB / 0.9546 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.9783, allocations: 12.17 kB / 0.9546 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.9783, allocations: 13.38 kB / 0.9546 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000267/0.9786, allocations: 206.4 kB / 0.9548 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9786, allocations: 0 / 0.9548 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004532/0.979, allocations: 59.23 kB / 0.9548 GB, free: 12.66 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.001222/0.9803, allocations: 0.9078 MB / 0.9557 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000369/0.9806, allocations: 131 kB / 0.9558 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9806, allocations: 1.375 kB / 0.9559 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.9808, allocations: 56.28 kB / 0.9559 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.9816, allocations: 141.2 kB / 0.956 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.9852, allocations: 2.612 MB / 0.9586 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.9856, allocations: 0.7514 MB / 0.9593 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.9859, allocations: 54.61 kB / 0.9594 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.986, allocations: 67 kB / 0.9594 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.986, allocations: 0 / 0.9594 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04273/1.029, allocations: 6.788 MB / 0.9661 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/9.115, allocations: 5.188 kB / 0.9661 GB, free: 8.867 MB / 0.7325 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)