Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_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.008123/0.008123, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001821/0.001821, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.89 kB / 0.5852 GB, free: 3.762 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4086, allocations: 80.9 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1759/0.5845, allocations: 167.5 MB / 0.8278 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.5914, allocations: 6.545 MB / 0.8342 GB, free: 2.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.5919, allocations: 15.88 kB / 0.8342 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.5924, allocations: 170.8 kB / 0.8343 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002054/0.5945, allocations: 0.8791 MB / 0.8352 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.5954, allocations: 323.2 kB / 0.8355 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.5963, allocations: 0.7212 MB / 0.8362 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.5968, allocations: 278.7 kB / 0.8365 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.598, allocations: 0.5682 MB / 0.837 GB, free: 15.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004452/0.5985, allocations: 263 kB / 0.8373 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.5985, allocations: 24 kB / 0.8373 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006452/0.5992, allocations: 347.2 kB / 0.8376 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.5993, allocations: 107.6 kB / 0.8377 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.5995, allocations: 167.2 kB / 0.8379 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.6003, allocations: 479.2 kB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6003, allocations: 0 / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.011e-06/0.6003, allocations: 4 kB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.6003, allocations: 0 / 0.8384 GB, free: 14.52 MB / 0.67 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.0008739/0.6012, allocations: 0.6345 MB / 0.839 GB, free: 13.83 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6012, allocations: 8.031 kB / 0.839 GB, free: 13.82 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.6013, allocations: 58.55 kB / 0.8391 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003114/0.6016, allocations: 75.53 kB / 0.8391 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.6021, allocations: 321.5 kB / 0.8394 GB, free: 13.33 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.6021, allocations: 20.56 kB / 0.8394 GB, free: 13.31 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.6022, allocations: 27.94 kB / 0.8395 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.6027, allocations: 315.7 kB / 0.8398 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6027, allocations: 7.938 kB / 0.8398 GB, free: 12.94 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.6028, allocations: 11.94 kB / 0.8398 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.6028, allocations: 8 kB / 0.8398 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.6032, allocations: 197.6 kB / 0.84 GB, free: 12.73 MB / 0.67 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.001453/0.6047, allocations: 1.535 MB / 0.8415 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.6049, allocations: 118.5 kB / 0.8416 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.6051, allocations: 92.81 kB / 0.8417 GB, free: 10.84 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005508/0.6056, allocations: 307.2 kB / 0.842 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.6057, allocations: 34.56 kB / 0.842 GB, free: 10.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.6057, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0007262/0.6064, allocations: 280.4 kB / 0.8423 GB, free: 10.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6065, allocations: 55.41 kB / 0.8423 GB, free: 10.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.6068, allocations: 308.5 kB / 0.8426 GB, free: 9.785 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.6068, allocations: 29.7 kB / 0.8427 GB, free: 9.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6069, allocations: 188.2 kB / 0.8428 GB, free: 9.562 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/0.607, allocations: 43.58 kB / 0.8429 GB, free: 9.52 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.6071, allocations: 41.72 kB / 0.8429 GB, free: 9.473 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6072, allocations: 342.7 kB / 0.8432 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.6073, allocations: 55.95 kB / 0.8433 GB, free: 9.074 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.6075, allocations: 113.1 kB / 0.8434 GB, free: 8.945 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.6079, allocations: 176.9 kB / 0.8436 GB, free: 8.754 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6079, allocations: 0 / 0.8436 GB, free: 8.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004092/0.6083, allocations: 217.3 kB / 0.8438 GB, free: 8.535 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.6083, allocations: 4 kB / 0.8438 GB, free: 8.531 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6083, allocations: 4 kB / 0.8438 GB, free: 8.527 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6083, allocations: 3.984 kB / 0.8438 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6085, allocations: 35.98 kB / 0.8438 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6085, allocations: 3.938 kB / 0.8438 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.6087, allocations: 31.98 kB / 0.8439 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.6087, allocations: 8 kB / 0.8439 GB, free: 8.445 MB / 0.67 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.0001326/0.6089, allocations: 155.2 kB / 0.844 GB, free: 8.285 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.6089, allocations: 27.81 kB / 0.844 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.6094, allocations: 208.3 kB / 0.8442 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.6094, allocations: 0 / 0.8442 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6094, allocations: 4 kB / 0.8443 GB, free: 8.047 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6094, allocations: 4 kB / 0.8443 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.6103, allocations: 0.6796 MB / 0.8449 GB, free: 7.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6104, allocations: 3.938 kB / 0.8449 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.6105, allocations: 35.86 kB / 0.845 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6105, allocations: 64 / 0.845 GB, free: 7.246 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.6105, allocations: 8 kB / 0.845 GB, free: 7.238 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6105, allocations: 7.984 kB / 0.845 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6105, allocations: 0 / 0.845 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.611, allocations: 341.5 kB / 0.8453 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6111, allocations: 136.8 kB / 0.8454 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.6112, allocations: 0 / 0.8454 GB, free: 6.707 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.6113, allocations: 12 kB / 0.8454 GB, free: 6.695 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6114, allocations: 7.984 kB / 0.8454 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.6114, allocations: 8 kB / 0.8455 GB, free: 6.68 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002009/0.6116, allocations: 227 kB / 0.8457 GB, free: 6.457 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6116, allocations: 0 / 0.8457 GB, free: 6.457 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003551/0.612, allocations: 75.89 kB / 0.8457 GB, free: 6.383 MB / 0.67 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.0009571/0.6129, allocations: 0.927 MB / 0.8466 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.6133, allocations: 155.8 kB / 0.8468 GB, free: 5.262 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6133, allocations: 4 kB / 0.8468 GB, free: 5.258 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.6135, allocations: 84.58 kB / 0.8469 GB, free: 5.176 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.6143, allocations: 154.9 kB / 0.847 GB, free: 5.031 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.6176, allocations: 2.814 MB / 0.8498 GB, free: 2.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.618, allocations: 0.7872 MB / 0.8505 GB, free: 1.258 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.6182, allocations: 66.92 kB / 0.8506 GB, free: 1.191 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.6183, allocations: 91.41 kB / 0.8507 GB, free: 1.102 MB / 0.67 GB Notification: Performance of SimCode: time 3.91e-07/0.6183, allocations: 0 / 0.8507 GB, free: 1.102 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.6457, allocations: 8.106 MB / 0.8586 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.618, allocations: 4.578 kB / 0.8586 GB, free: 9.16 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)