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.001537/0.001537, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9273/0.9273, allocations: 135.1 MB / 425.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.16 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4139/0.5631, allocations: 167.5 MB / 0.7481 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007686/0.5708, allocations: 6.548 MB / 0.7544 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004528/0.5713, allocations: 15.94 kB / 0.7545 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.5719, allocations: 171.5 kB / 0.7546 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.5739, allocations: 0.8427 MB / 0.7554 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.5749, allocations: 322 kB / 0.7558 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009523/0.5759, allocations: 0.7235 MB / 0.7565 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005806/0.5765, allocations: 272.5 kB / 0.7567 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.5777, allocations: 0.5517 MB / 0.7573 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004557/0.5782, allocations: 266.2 kB / 0.7575 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.5783, allocations: 23.62 kB / 0.7575 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.5789, allocations: 332.8 kB / 0.7579 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.5791, allocations: 111.7 kB / 0.758 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.5792, allocations: 167.1 kB / 0.7581 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006276/0.5799, allocations: 466.6 kB / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5799, allocations: 0 / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5799, allocations: 4 kB / 0.7586 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.5799, allocations: 0 / 0.7586 GB, free: 10.57 MB / 0.5762 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.0009561/0.5809, allocations: 0.6116 MB / 0.7592 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5809, allocations: 12.03 kB / 0.7592 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.581, allocations: 62.53 kB / 0.7592 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003247/0.5813, allocations: 71.38 kB / 0.7593 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.5817, allocations: 305.2 kB / 0.7596 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.5818, allocations: 20.56 kB / 0.7596 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.5818, allocations: 24 kB / 0.7596 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.5823, allocations: 319.6 kB / 0.7599 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5823, allocations: 4.75 kB / 0.7599 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5824, allocations: 12 kB / 0.76 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5824, allocations: 4 kB / 0.76 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.5828, allocations: 205.5 kB / 0.7602 GB, free: 8.82 MB / 0.5762 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.001516/0.5843, allocations: 1.538 MB / 0.7617 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.5846, allocations: 118.5 kB / 0.7618 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.5848, allocations: 98.86 kB / 0.7619 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.5854, allocations: 299.2 kB / 0.7622 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.5855, allocations: 42.55 kB / 0.7622 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.5855, allocations: 0 / 0.7622 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007611/0.5862, allocations: 261.2 kB / 0.7624 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.5863, allocations: 59.41 kB / 0.7625 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.5866, allocations: 316.5 kB / 0.7628 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5867, allocations: 25.7 kB / 0.7628 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.5868, allocations: 180.1 kB / 0.763 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.5869, allocations: 43.45 kB / 0.763 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.587, allocations: 41.55 kB / 0.7631 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5871, allocations: 342.8 kB / 0.7634 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.5873, allocations: 63.89 kB / 0.7635 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.5875, allocations: 115.4 kB / 0.7636 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.5878, allocations: 180.1 kB / 0.7637 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5879, allocations: 4 kB / 0.7638 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004215/0.5883, allocations: 209.2 kB / 0.764 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5883, allocations: 4.156 kB / 0.764 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5883, allocations: 4 kB / 0.764 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.5883, allocations: 4 kB / 0.764 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.5885, allocations: 35.91 kB / 0.764 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.5885, allocations: 4 kB / 0.764 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.5887, allocations: 31.67 kB / 0.764 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.5887, allocations: 11.75 kB / 0.764 GB, free: 4.539 MB / 0.5762 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.000143/0.5889, allocations: 155 kB / 0.7642 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.589, allocations: 31.62 kB / 0.7642 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.5894, allocations: 212.3 kB / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5894, allocations: 0 / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5894, allocations: 0 / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5894, allocations: 0 / 0.7644 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5904, allocations: 0.6796 MB / 0.7651 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5905, allocations: 11.92 kB / 0.7651 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.5906, allocations: 31.92 kB / 0.7651 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.5906, allocations: 4.219 kB / 0.7651 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.5906, allocations: 11.94 kB / 0.7651 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.5906, allocations: 0 / 0.7651 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.5907, allocations: 4 kB / 0.7651 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5911, allocations: 340.3 kB / 0.7655 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.5912, allocations: 108.8 kB / 0.7656 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.5913, allocations: 15.92 kB / 0.7656 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.5914, allocations: 4 kB / 0.7656 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.5915, allocations: 23.92 kB / 0.7656 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5915, allocations: 4 kB / 0.7656 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002187/0.5917, allocations: 227 kB / 0.7658 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5917, allocations: 0 / 0.7658 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003695/0.5921, allocations: 71.84 kB / 0.7659 GB, free: 2.488 MB / 0.5762 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.0009481/0.5931, allocations: 0.9235 MB / 0.7668 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004113/0.5935, allocations: 167.8 kB / 0.767 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5935, allocations: 0 / 0.767 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.5937, allocations: 79.83 kB / 0.767 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.5945, allocations: 151.1 kB / 0.7672 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5981, allocations: 2.825 MB / 0.7699 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5985, allocations: 0.7834 MB / 0.7707 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002016/0.5987, allocations: 62.52 kB / 0.7708 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5989, allocations: 91.41 kB / 0.7709 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.5989, allocations: 3.938 kB / 0.7709 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.6243, allocations: 8.014 MB / 0.7787 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/8.014, allocations: 7.328 kB / 0.7787 GB, free: 5.395 MB / 0.5919 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)