Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate",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.001286/0.001286, allocations: 106.7 kB / 16.27 MB, free: 5.984 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.001156/0.001156, allocations: 189.8 kB / 17.2 MB, free: 5.613 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7558/0.7558, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3678, allocations: 77.93 MB / 0.5673 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1639/0.5318, allocations: 167.5 MB / 0.7309 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007321/0.5391, allocations: 6.535 MB / 0.7373 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.5396, allocations: 15.88 kB / 0.7373 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.5401, allocations: 170.7 kB / 0.7374 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.5422, allocations: 0.8401 MB / 0.7383 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008717/0.5431, allocations: 326.3 kB / 0.7386 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000836/0.544, allocations: 0.7173 MB / 0.7393 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004677/0.5444, allocations: 282.7 kB / 0.7395 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.5456, allocations: 0.5487 MB / 0.7401 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00041/0.546, allocations: 270.9 kB / 0.7403 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.546, allocations: 24 kB / 0.7404 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006015/0.5467, allocations: 343.1 kB / 0.7407 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.5468, allocations: 103.7 kB / 0.7408 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.547, allocations: 167.1 kB / 0.7409 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006759/0.5477, allocations: 466.5 kB / 0.7414 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5477, allocations: 0 / 0.7414 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5477, allocations: 4 kB / 0.7414 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.5477, allocations: 0 / 0.7414 GB, free: 8.082 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008913/0.5486, allocations: 0.6116 MB / 0.742 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5487, allocations: 8.625 kB / 0.742 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.5487, allocations: 62.53 kB / 0.7421 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.5491, allocations: 67.44 kB / 0.7421 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.5494, allocations: 305.2 kB / 0.7424 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.5495, allocations: 24.56 kB / 0.7424 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.5495, allocations: 31.98 kB / 0.7425 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.55, allocations: 315.6 kB / 0.7428 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.55, allocations: 0 / 0.7428 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.5501, allocations: 12 kB / 0.7428 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.5501, allocations: 12 kB / 0.7428 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.5505, allocations: 205.4 kB / 0.743 GB, free: 6.324 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.5519, allocations: 1.534 MB / 0.7445 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.5522, allocations: 122.5 kB / 0.7446 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.5524, allocations: 88.81 kB / 0.7447 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005978/0.553, allocations: 303.2 kB / 0.745 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.553, allocations: 34.56 kB / 0.745 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.553, allocations: 0 / 0.745 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007226/0.5537, allocations: 272.9 kB / 0.7453 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5538, allocations: 55.41 kB / 0.7453 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.5541, allocations: 316.4 kB / 0.7456 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.5542, allocations: 33.7 kB / 0.7456 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.5543, allocations: 184 kB / 0.7458 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.5544, allocations: 43.45 kB / 0.7459 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.5544, allocations: 37.61 kB / 0.7459 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5546, allocations: 338.8 kB / 0.7462 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.5547, allocations: 59.95 kB / 0.7463 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5549, allocations: 115.3 kB / 0.7464 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.5552, allocations: 179.5 kB / 0.7466 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5552, allocations: 0 / 0.7466 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004098/0.5556, allocations: 213.1 kB / 0.7468 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5557, allocations: 7.984 kB / 0.7468 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.5557, allocations: 0 / 0.7468 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5557, allocations: 4.156 kB / 0.7468 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5559, allocations: 39.92 kB / 0.7468 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5559, allocations: 0 / 0.7468 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5561, allocations: 35.67 kB / 0.7469 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.5561, allocations: 7.938 kB / 0.7469 GB, free: 2.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.000134/0.5563, allocations: 153.7 kB / 0.747 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.5563, allocations: 27.62 kB / 0.747 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.5567, allocations: 212.3 kB / 0.7472 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5568, allocations: 0 / 0.7472 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5568, allocations: 0 / 0.7472 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5568, allocations: 0 / 0.7472 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/0.5577, allocations: 0.6873 MB / 0.7479 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5578, allocations: 0 / 0.7479 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5579, allocations: 27.98 kB / 0.7479 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5579, allocations: 0 / 0.7479 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.5579, allocations: 15.92 kB / 0.7479 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5579, allocations: 4 kB / 0.748 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5579, allocations: 8.156 kB / 0.748 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.5583, allocations: 333.1 kB / 0.7483 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.5584, allocations: 112.8 kB / 0.7484 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.5585, allocations: 11.94 kB / 0.7484 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.5587, allocations: 15.92 kB / 0.7484 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.5587, allocations: 8 kB / 0.7484 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5587, allocations: 11.98 kB / 0.7484 GB, free: 300 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001825/0.5589, allocations: 223.1 kB / 0.7486 GB, free: 76 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5589, allocations: 0 / 0.7486 GB, free: 76 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000365/0.5593, allocations: 71.84 kB / 0.7487 GB, free: 4 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.2648/0.8241, allocations: 0.9259 MB / 0.7496 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004364/0.8246, allocations: 158.6 kB / 0.7498 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8246, allocations: 1.25 kB / 0.7498 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.8248, allocations: 89.05 kB / 0.7499 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008593/0.8256, allocations: 144.9 kB / 0.75 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.8288, allocations: 2.815 MB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.829, allocations: 0.7794 MB / 0.7535 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002454/0.8293, allocations: 62.88 kB / 0.7536 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.8294, allocations: 91.27 kB / 0.7536 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.8294, allocations: 0.7188 kB / 0.7536 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.8557, allocations: 8.044 MB / 0.7615 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.15/8.006, allocations: 14.48 kB / 0.7615 GB, free: 168.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)