Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_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.001112/0.001112, allocations: 103.9 kB / 16.27 MB, free: 5.957 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.001199/0.001199, allocations: 186.8 kB / 17.19 MB, free: 5.594 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.257/1.257, 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.7329/0.7329, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1578/0.4563, allocations: 161.3 MB / 0.7248 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005651/0.462, allocations: 4.548 MB / 0.7293 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004551/0.4625, allocations: 11.94 kB / 0.7293 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.4632, allocations: 123 kB / 0.7294 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.4642, allocations: 326.5 kB / 0.7297 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.465, allocations: 274.4 kB / 0.73 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.4657, allocations: 0.5611 MB / 0.7305 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004125/0.4662, allocations: 217.1 kB / 0.7307 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009859/0.4672, allocations: 454.3 kB / 0.7312 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.4675, allocations: 187.2 kB / 0.7314 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.4675, allocations: 19.98 kB / 0.7314 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.4677, allocations: 83.88 kB / 0.7315 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4679, allocations: 79.8 kB / 0.7315 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.468, allocations: 119.4 kB / 0.7316 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.4684, allocations: 295 kB / 0.7319 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4684, allocations: 0 / 0.7319 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4684, allocations: 0 / 0.7319 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.4684, allocations: 0 / 0.7319 GB, free: 1.562 MB / 0.5606 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.0009016/0.4693, allocations: 0.5333 MB / 0.7324 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4694, allocations: 8.625 kB / 0.7325 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.016e-05/0.4695, allocations: 58.55 kB / 0.7325 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.4695, allocations: 31.56 kB / 0.7325 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.4699, allocations: 275.3 kB / 0.7328 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.4699, allocations: 12 kB / 0.7328 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.47, allocations: 23.94 kB / 0.7328 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.4704, allocations: 254.1 kB / 0.7331 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4704, allocations: 3.938 kB / 0.7331 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.4705, allocations: 8 kB / 0.7331 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.4705, allocations: 4 kB / 0.7331 GB, free: 236 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.4708, allocations: 147.8 kB / 0.7332 GB, free: 88 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.4722, allocations: 1.379 MB / 0.7346 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.4725, allocations: 187.7 kB / 0.7348 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.4726, allocations: 97.11 kB / 0.7349 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003339/0.473, allocations: 113.1 kB / 0.735 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.473, allocations: 50.42 kB / 0.735 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.473, allocations: 0 / 0.735 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005816/0.4736, allocations: 201.7 kB / 0.7352 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.058e-05/0.4737, allocations: 187.9 kB / 0.7354 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.474, allocations: 291 kB / 0.7357 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.474, allocations: 29.7 kB / 0.7357 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4741, allocations: 147.8 kB / 0.7358 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4742, allocations: 35.78 kB / 0.7359 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.4742, allocations: 33.7 kB / 0.7359 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4744, allocations: 334.8 kB / 0.7362 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.4745, allocations: 43.95 kB / 0.7363 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.4747, allocations: 125.5 kB / 0.7364 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.475, allocations: 154.7 kB / 0.7365 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.475, allocations: 0 / 0.7365 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003537/0.4753, allocations: 193.1 kB / 0.7367 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4754, allocations: 8.219 kB / 0.7367 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4754, allocations: 7.938 kB / 0.7367 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4754, allocations: 7.922 kB / 0.7367 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4755, allocations: 32.23 kB / 0.7368 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.4756, allocations: 4 kB / 0.7368 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4757, allocations: 31.73 kB / 0.7368 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4758, allocations: 8 kB / 0.7368 GB, free: 12.1 MB / 0.5762 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.0001214/0.4759, allocations: 145.8 kB / 0.7369 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.476, allocations: 35.66 kB / 0.737 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.4763, allocations: 126.9 kB / 0.7371 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.4763, allocations: 4 kB / 0.7371 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4763, allocations: 0 / 0.7371 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4764, allocations: 4 kB / 0.7371 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.4771, allocations: 0.7729 MB / 0.7379 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4772, allocations: 4 kB / 0.7379 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4773, allocations: 19.98 kB / 0.7379 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4773, allocations: 4 kB / 0.7379 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.4773, allocations: 4 kB / 0.7379 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4773, allocations: 4 kB / 0.7379 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4773, allocations: 0 / 0.7379 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.4778, allocations: 351.5 kB / 0.7382 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.4779, allocations: 108.8 kB / 0.7383 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.478, allocations: 4 kB / 0.7383 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4781, allocations: 7.984 kB / 0.7383 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.4781, allocations: 15.92 kB / 0.7384 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.4781, allocations: 4 kB / 0.7384 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001814/0.4783, allocations: 209.9 kB / 0.7386 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4783, allocations: 0 / 0.7386 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003185/0.4787, allocations: 67.91 kB / 0.7386 GB, free: 10.09 MB / 0.5762 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.0009148/0.4796, allocations: 0.9117 MB / 0.7395 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003275/0.4799, allocations: 128 kB / 0.7396 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4799, allocations: 0 / 0.7396 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.4801, allocations: 63.89 kB / 0.7397 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007183/0.4808, allocations: 122.6 kB / 0.7398 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.4837, allocations: 2.606 MB / 0.7424 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.484, allocations: 0.7558 MB / 0.7431 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.4842, allocations: 54.25 kB / 0.7432 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.918e-05/0.4843, allocations: 67.41 kB / 0.7432 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.4843, allocations: 0 / 0.7432 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2287/0.713, allocations: 6.782 MB / 0.7498 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.066, allocations: 5.031 kB / 0.7498 GB, free: 173.4 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy_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_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)