Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_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.0069/0.0069, allocations: 102 kB / 15.73 MB, free: 6.02 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.001649/0.001649, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7876/0.7876, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.12 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1561, allocations: 80.2 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5148/0.6709, allocations: 161.4 MB / 0.8168 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0059/0.6768, allocations: 4.549 MB / 0.8212 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.6773, allocations: 8.719 kB / 0.8212 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.6778, allocations: 126.2 kB / 0.8213 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008104/0.6786, allocations: 346.5 kB / 0.8217 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007615/0.6794, allocations: 279.6 kB / 0.8219 GB, free: 6.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005728/0.68, allocations: 0.5535 MB / 0.8225 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.6803, allocations: 206.4 kB / 0.8227 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.6813, allocations: 470.2 kB / 0.8231 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.6815, allocations: 187.3 kB / 0.8233 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.6816, allocations: 16.12 kB / 0.8233 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.6818, allocations: 87.22 kB / 0.8234 GB, free: 5.785 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.6819, allocations: 87.98 kB / 0.8235 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.682, allocations: 120.2 kB / 0.8236 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.6824, allocations: 306 kB / 0.8239 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6824, allocations: 0 / 0.8239 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6824, allocations: 0 / 0.8239 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6824, allocations: 0 / 0.8239 GB, free: 5.461 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007969/0.6832, allocations: 0.5565 MB / 0.8244 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6832, allocations: 9.594 kB / 0.8244 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.068e-05/0.6833, allocations: 54.61 kB / 0.8245 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.6834, allocations: 24.67 kB / 0.8245 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.6838, allocations: 288.1 kB / 0.8248 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6838, allocations: 12.03 kB / 0.8248 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.6839, allocations: 21.03 kB / 0.8248 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.6843, allocations: 262.4 kB / 0.8251 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.6843, allocations: 0 / 0.8251 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.6843, allocations: 12.25 kB / 0.8251 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.6843, allocations: 3.219 kB / 0.8251 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.6847, allocations: 149.7 kB / 0.8252 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.6859, allocations: 1.366 MB / 0.8266 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.6862, allocations: 185.2 kB / 0.8268 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6864, allocations: 100 kB / 0.8268 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/0.6868, allocations: 123.8 kB / 0.827 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.6868, allocations: 37.28 kB / 0.827 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.6868, allocations: 0 / 0.827 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0005793/0.6874, allocations: 210.1 kB / 0.8272 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/0.6875, allocations: 186.5 kB / 0.8274 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.6877, allocations: 284.1 kB / 0.8276 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.6878, allocations: 32.41 kB / 0.8277 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.6879, allocations: 156.6 kB / 0.8278 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.6879, allocations: 28.44 kB / 0.8279 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.688, allocations: 37.84 kB / 0.8279 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6881, allocations: 336.6 kB / 0.8282 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.6882, allocations: 52.94 kB / 0.8283 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.6884, allocations: 117.9 kB / 0.8284 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.6887, allocations: 159 kB / 0.8285 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6887, allocations: 2.594 kB / 0.8285 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003469/0.689, allocations: 194.8 kB / 0.8287 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.6891, allocations: 5.281 kB / 0.8287 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6891, allocations: 2.5 kB / 0.8287 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6891, allocations: 2.219 kB / 0.8287 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.6892, allocations: 31.27 kB / 0.8288 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6893, allocations: 2.125 kB / 0.8288 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.6894, allocations: 29.98 kB / 0.8288 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.6894, allocations: 7.844 kB / 0.8288 GB, free: 1.062 MB / 0.5919 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.0001258/0.6896, allocations: 155.8 kB / 0.8289 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.6897, allocations: 32.73 kB / 0.829 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.69, allocations: 124.1 kB / 0.8291 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.69, allocations: 2.875 kB / 0.8291 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6901, allocations: 0 / 0.8291 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.6901, allocations: 6.391 kB / 0.8291 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.6909, allocations: 0.7769 MB / 0.8299 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.6909, allocations: 0 / 0.8299 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.691, allocations: 21.36 kB / 0.8299 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.691, allocations: 2.406 kB / 0.8299 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.691, allocations: 3.219 kB / 0.8299 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.691, allocations: 14.86 kB / 0.8299 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.691, allocations: 0 / 0.8299 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.6916, allocations: 345.9 kB / 0.8302 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.205e-05/0.6917, allocations: 111.2 kB / 0.8303 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.901e-05/0.6917, allocations: 7.812 kB / 0.8303 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.6918, allocations: 4.625 kB / 0.8303 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.6919, allocations: 13.2 kB / 0.8304 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.6919, allocations: 8.562 kB / 0.8304 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001755/0.6921, allocations: 214.2 kB / 0.8306 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.703e-06/0.6921, allocations: 0 / 0.8306 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003293/0.6924, allocations: 61.27 kB / 0.8306 GB, free: 15.46 MB / 0.6075 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.0009301/0.6934, allocations: 0.9069 MB / 0.8315 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.6937, allocations: 127.9 kB / 0.8316 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6937, allocations: 0 / 0.8316 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.6939, allocations: 56.62 kB / 0.8317 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007151/0.6946, allocations: 141.8 kB / 0.8318 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.6974, allocations: 2.599 MB / 0.8344 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.6978, allocations: 0.7618 MB / 0.8351 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.6979, allocations: 51.84 kB / 0.8352 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.319e-05/0.698, allocations: 68.44 kB / 0.8352 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of SimCode: time 6.92e-07/0.698, allocations: 2.719 kB / 0.8352 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.7221, allocations: 6.851 MB / 0.8419 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.577, allocations: 12.31 kB / 0.8419 GB, free: 8.238 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)