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.001069/0.001069, allocations: 103.7 kB / 16.4 MB, free: 6.461 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.001146/0.001146, allocations: 197.8 kB / 17.34 MB, free: 5.715 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7391/0.7391, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 69.91 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.131, allocations: 77.93 MB / 0.6441 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5256/0.6567, allocations: 167.5 MB / 0.8077 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006564/0.6633, allocations: 6.543 MB / 0.8141 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.664, allocations: 11.56 kB / 0.8141 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/0.6646, allocations: 175.7 kB / 0.8142 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.667, allocations: 0.8687 MB / 0.8151 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.6679, allocations: 339.2 kB / 0.8154 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.6687, allocations: 0.7181 MB / 0.8161 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003774/0.6691, allocations: 275.2 kB / 0.8164 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6702, allocations: 0.5691 MB / 0.8169 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.6705, allocations: 267.8 kB / 0.8172 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.6706, allocations: 22.41 kB / 0.8172 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.6712, allocations: 345.6 kB / 0.8175 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.6713, allocations: 106.6 kB / 0.8176 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.6715, allocations: 167.9 kB / 0.8178 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.672, allocations: 478.2 kB / 0.8182 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6721, allocations: 2.938 kB / 0.8182 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6721, allocations: 0 / 0.8182 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.6721, allocations: 3.938 kB / 0.8183 GB, free: 9.383 MB / 0.5919 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.0007977/0.6729, allocations: 0.6132 MB / 0.8189 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6729, allocations: 10.66 kB / 0.8189 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.526e-05/0.673, allocations: 64.09 kB / 0.8189 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.6733, allocations: 67.77 kB / 0.819 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.6738, allocations: 334.2 kB / 0.8193 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.6738, allocations: 18.97 kB / 0.8193 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.6738, allocations: 32.89 kB / 0.8194 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/0.6744, allocations: 317.6 kB / 0.8197 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6744, allocations: 0 / 0.8197 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.6744, allocations: 10.59 kB / 0.8197 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.6744, allocations: 11.86 kB / 0.8197 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.6748, allocations: 205.6 kB / 0.8199 GB, free: 8.102 MB / 0.5919 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.001402/0.6762, allocations: 1.525 MB / 0.8214 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.6765, allocations: 128.4 kB / 0.8215 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6766, allocations: 89.77 kB / 0.8216 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.6772, allocations: 301.3 kB / 0.8219 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.6772, allocations: 39.84 kB / 0.8219 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.6772, allocations: 0 / 0.8219 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006885/0.6779, allocations: 266.1 kB / 0.8222 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.678, allocations: 55.34 kB / 0.8222 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.6783, allocations: 313.9 kB / 0.8225 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.6783, allocations: 32.64 kB / 0.8225 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.6784, allocations: 181.7 kB / 0.8227 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.6785, allocations: 48.42 kB / 0.8228 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.6785, allocations: 38.47 kB / 0.8228 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.6786, allocations: 338.2 kB / 0.8231 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.6788, allocations: 60.36 kB / 0.8232 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.679, allocations: 113.6 kB / 0.8233 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.6793, allocations: 178.2 kB / 0.8234 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.6793, allocations: 3.938 kB / 0.8235 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003859/0.6797, allocations: 217.1 kB / 0.8237 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6797, allocations: 4.312 kB / 0.8237 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6797, allocations: 3.219 kB / 0.8237 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6797, allocations: 160 / 0.8237 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.6799, allocations: 39.55 kB / 0.8237 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.6799, allocations: 2.594 kB / 0.8237 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.6801, allocations: 27.45 kB / 0.8237 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.378e-05/0.6801, allocations: 6.844 kB / 0.8237 GB, free: 4.793 MB / 0.5919 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.0001299/0.6802, allocations: 159.6 kB / 0.8239 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.6803, allocations: 28.53 kB / 0.8239 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.6807, allocations: 213.4 kB / 0.8241 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.6807, allocations: 4.031 kB / 0.8241 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6807, allocations: 3.219 kB / 0.8241 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6807, allocations: 3.984 kB / 0.8241 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009175/0.6817, allocations: 0.6819 MB / 0.8248 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6817, allocations: 2.281 kB / 0.8248 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.6818, allocations: 25.33 kB / 0.8248 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6818, allocations: 4.625 kB / 0.8248 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.6818, allocations: 6.844 kB / 0.8248 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6819, allocations: 10.53 kB / 0.8248 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.6819, allocations: 6.406 kB / 0.8249 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004105/0.6823, allocations: 346.5 kB / 0.8252 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.6824, allocations: 117.7 kB / 0.8253 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.6824, allocations: 9.469 kB / 0.8253 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6826, allocations: 13.67 kB / 0.8253 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.6826, allocations: 12.98 kB / 0.8253 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6827, allocations: 8.406 kB / 0.8253 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001865/0.6829, allocations: 226.7 kB / 0.8256 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6829, allocations: 0 / 0.8256 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003489/0.6832, allocations: 70.02 kB / 0.8256 GB, free: 3.305 MB / 0.5919 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.0008698/0.6841, allocations: 0.927 MB / 0.8265 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003612/0.6845, allocations: 160.3 kB / 0.8267 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6845, allocations: 6.781 kB / 0.8267 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.6846, allocations: 86.88 kB / 0.8268 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.6854, allocations: 143.7 kB / 0.8269 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.6886, allocations: 2.812 MB / 0.8297 GB, free: 132 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.689, allocations: 0.7832 MB / 0.8304 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.6892, allocations: 63.22 kB / 0.8305 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.6894, allocations: 86.61 kB / 0.8306 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6894, allocations: 0 / 0.8306 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.7163, allocations: 8.12 MB / 0.8385 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.427, allocations: 3.781 kB / 0.8385 GB, free: 11.24 MB / 0.6075 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)