Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.001399/0.001399, allocations: 105.4 kB / 16.4 MB, free: 6.504 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.00138/0.00138, allocations: 191.9 kB / 17.34 MB, free: 5.758 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7765/0.7765, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 70.28 kB / 0.5736 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1415, allocations: 78.86 MB / 0.6506 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.495/0.6365, allocations: 179.4 MB / 0.8258 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.6466, allocations: 7.835 MB / 0.8334 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008682/0.6475, allocations: 20.47 kB / 0.8335 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.6485, allocations: 245.8 kB / 0.8337 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.6518, allocations: 1.208 MB / 0.8349 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.6539, allocations: 0.7315 MB / 0.8356 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.6552, allocations: 1.064 MB / 0.8366 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005852/0.6558, allocations: 409.2 kB / 0.837 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.6586, allocations: 0.9665 MB / 0.838 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006474/0.6592, allocations: 424.8 kB / 0.8384 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.6593, allocations: 37.88 kB / 0.8384 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.661, allocations: 0.9359 MB / 0.8393 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.6612, allocations: 162.8 kB / 0.8395 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.6615, allocations: 247.2 kB / 0.8397 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.6629, allocations: 0.9355 MB / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6629, allocations: 0 / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.663, allocations: 2.781 kB / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.663, allocations: 0 / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001173/0.6641, allocations: 0.8225 MB / 0.8414 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.6642, allocations: 9.812 kB / 0.8414 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.52e-05/0.6643, allocations: 75.12 kB / 0.8415 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.6652, allocations: 161 kB / 0.8417 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.6658, allocations: 407.9 kB / 0.842 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6658, allocations: 27.53 kB / 0.8421 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.6659, allocations: 37.19 kB / 0.8421 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.6666, allocations: 458.7 kB / 0.8425 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.6666, allocations: 3.938 kB / 0.8425 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.6667, allocations: 14.72 kB / 0.8426 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.6667, allocations: 9.688 kB / 0.8426 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.6672, allocations: 312.5 kB / 0.8429 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.6693, allocations: 2.013 MB / 0.8448 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.6697, allocations: 245.9 kB / 0.8451 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.67, allocations: 150.1 kB / 0.8452 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.6706, allocations: 304.6 kB / 0.8455 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.6706, allocations: 40.86 kB / 0.8455 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.764e-06/0.6706, allocations: 0 / 0.8455 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009712/0.6716, allocations: 450.3 kB / 0.846 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.6717, allocations: 58.12 kB / 0.846 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.6721, allocations: 397.3 kB / 0.8464 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.6721, allocations: 36.3 kB / 0.8464 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.6723, allocations: 227.5 kB / 0.8467 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.6724, allocations: 96.8 kB / 0.8467 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.6725, allocations: 52.7 kB / 0.8468 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6726, allocations: 352.9 kB / 0.8471 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.6729, allocations: 109.6 kB / 0.8472 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.6731, allocations: 191.4 kB / 0.8474 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.6737, allocations: 310 kB / 0.8477 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6737, allocations: 0 / 0.8477 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006108/0.6743, allocations: 369.4 kB / 0.8481 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6743, allocations: 5.281 kB / 0.8481 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.6743, allocations: 6.453 kB / 0.8481 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6743, allocations: 5.125 kB / 0.8481 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.6746, allocations: 61.72 kB / 0.8481 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6746, allocations: 5.75 kB / 0.8481 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.6748, allocations: 40.41 kB / 0.8482 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/0.6749, allocations: 13.88 kB / 0.8482 GB, free: 6.383 MB / 0.6075 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 (31): * Single equations (assignments): 31 * 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.000173/0.6751, allocations: 168.9 kB / 0.8484 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.6751, allocations: 39.98 kB / 0.8484 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.6758, allocations: 376.4 kB / 0.8488 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6758, allocations: 2.719 kB / 0.8488 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6759, allocations: 0 / 0.8488 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6759, allocations: 3.984 kB / 0.8488 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.6772, allocations: 0.94 MB / 0.8497 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6772, allocations: 14.19 kB / 0.8497 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.6775, allocations: 39.05 kB / 0.8497 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6775, allocations: 9.578 kB / 0.8497 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6775, allocations: 6.156 kB / 0.8497 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.6775, allocations: 10.44 kB / 0.8498 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6775, allocations: 2.656 kB / 0.8498 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.6784, allocations: 0.6312 MB / 0.8504 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6786, allocations: 147 kB / 0.8505 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.6787, allocations: 9.312 kB / 0.8505 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.6789, allocations: 16.92 kB / 0.8505 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.6789, allocations: 18.42 kB / 0.8506 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.679, allocations: 4.688 kB / 0.8506 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002693/0.6792, allocations: 289.9 kB / 0.8508 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6792, allocations: 0 / 0.8508 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004136/0.6797, allocations: 109.9 kB / 0.8509 GB, free: 4.441 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001474/0.6811, allocations: 1.244 MB / 0.8522 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005531/0.6817, allocations: 291.7 kB / 0.8524 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6817, allocations: 0 / 0.8524 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.682, allocations: 154.8 kB / 0.8526 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.683, allocations: 224 kB / 0.8528 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/0.6879, allocations: 3.8 MB / 0.8565 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.6883, allocations: 0.8311 MB / 0.8573 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.6887, allocations: 95.41 kB / 0.8574 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6889, allocations: 139.4 kB / 0.8575 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.6889, allocations: 4 kB / 0.8576 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.727, allocations: 11.69 MB / 0.869 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/9.039, allocations: 4.531 kB / 0.869 GB, free: 2.93 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_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_MoistAirEnthalpyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)