Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.001221/0.001221, 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.001189/0.001189, allocations: 192.9 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7429/0.7429, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 68.31 kB / 0.5019 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3828, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1833/0.5662, allocations: 169.4 MB / 0.7457 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008273/0.5745, allocations: 7.132 MB / 0.7526 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.575, allocations: 11.94 kB / 0.7526 GB, free: 376 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.5755, allocations: 166.8 kB / 0.7528 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.5786, allocations: 1.268 MB / 0.754 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.5805, allocations: 0.627 MB / 0.7546 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001117/0.5817, allocations: 0.756 MB / 0.7554 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005203/0.5822, allocations: 302.7 kB / 0.7557 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.5834, allocations: 0.5643 MB / 0.7562 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.5842, allocations: 418.5 kB / 0.7566 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.5842, allocations: 28 kB / 0.7567 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.5867, allocations: 1.243 MB / 0.7579 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.5869, allocations: 119.6 kB / 0.758 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.587, allocations: 179.1 kB / 0.7582 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.5884, allocations: 0.8961 MB / 0.759 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5884, allocations: 8 kB / 0.759 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5885, allocations: 0 / 0.759 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5885, allocations: 0 / 0.759 GB, free: 9.801 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009454/0.5894, allocations: 0.6896 MB / 0.7597 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.5895, allocations: 8.031 kB / 0.7597 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.5895, allocations: 66.53 kB / 0.7598 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.5906, allocations: 131.3 kB / 0.7599 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.591, allocations: 325.1 kB / 0.7602 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.5911, allocations: 54.27 kB / 0.7603 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.5911, allocations: 28 kB / 0.7603 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.5917, allocations: 362.1 kB / 0.7606 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5917, allocations: 0 / 0.7606 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.5918, allocations: 19.94 kB / 0.7607 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5918, allocations: 8 kB / 0.7607 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.5923, allocations: 274 kB / 0.7609 GB, free: 7.742 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.001779/0.5941, allocations: 1.5 MB / 0.7624 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.5945, allocations: 198.6 kB / 0.7626 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.5947, allocations: 112.8 kB / 0.7627 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/0.5957, allocations: 0.5052 MB / 0.7632 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.5958, allocations: 34.56 kB / 0.7632 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.5958, allocations: 0 / 0.7632 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009322/0.5967, allocations: 365 kB / 0.7636 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5968, allocations: 51.41 kB / 0.7636 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.5971, allocations: 312.5 kB / 0.7639 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.5971, allocations: 33.7 kB / 0.7639 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.5972, allocations: 184 kB / 0.7641 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.5973, allocations: 47.36 kB / 0.7642 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.5974, allocations: 45.61 kB / 0.7642 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5975, allocations: 342.8 kB / 0.7645 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.5977, allocations: 91.92 kB / 0.7646 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.5979, allocations: 141.9 kB / 0.7648 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.5983, allocations: 244.9 kB / 0.765 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5983, allocations: 0 / 0.765 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005818/0.5989, allocations: 281.1 kB / 0.7653 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.599, allocations: 4 kB / 0.7653 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.599, allocations: 4 kB / 0.7653 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.599, allocations: 4 kB / 0.7653 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.5992, allocations: 43.91 kB / 0.7653 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5992, allocations: 7.938 kB / 0.7653 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5994, allocations: 35.86 kB / 0.7654 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.5995, allocations: 12 kB / 0.7654 GB, free: 2.855 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001458/0.5996, allocations: 159.2 kB / 0.7655 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5998, allocations: 27.62 kB / 0.7655 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.6004, allocations: 315 kB / 0.7658 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.6005, allocations: 4 kB / 0.7658 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6005, allocations: 0 / 0.7658 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6005, allocations: 3.938 kB / 0.7658 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6017, allocations: 0.8044 MB / 0.7666 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6017, allocations: 3.938 kB / 0.7666 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.6019, allocations: 43.92 kB / 0.7667 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.6019, allocations: 4 kB / 0.7667 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.6019, allocations: 4 kB / 0.7667 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.602, allocations: 3.984 kB / 0.7667 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.602, allocations: 4 kB / 0.7667 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.6025, allocations: 405.2 kB / 0.7671 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.6027, allocations: 132.6 kB / 0.7672 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.6027, allocations: 8 kB / 0.7672 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.603, allocations: 12.03 kB / 0.7672 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.6031, allocations: 27.89 kB / 0.7673 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.6031, allocations: 8 kB / 0.7673 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001952/0.6033, allocations: 231 kB / 0.7675 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6033, allocations: 0 / 0.7675 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005025/0.6038, allocations: 123.8 kB / 0.7676 GB, free: 428 kB / 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 (16): * Single equations (assignments): 16 * 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.001222/0.605, allocations: 1.049 MB / 0.7686 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.6055, allocations: 231.6 kB / 0.7688 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6055, allocations: 0 / 0.7688 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.6058, allocations: 115.8 kB / 0.769 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.6066, allocations: 162.7 kB / 0.7691 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.6103, allocations: 3.067 MB / 0.7721 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.6106, allocations: 0.7872 MB / 0.7729 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003123/0.6109, allocations: 85.5 kB / 0.773 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.6111, allocations: 99.41 kB / 0.7731 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.6111, allocations: 0 / 0.7731 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.6385, allocations: 10.42 MB / 0.7832 GB, free: 412 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.391, allocations: 4 kB / 0.7832 GB, free: 408 kB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)