Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_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.001113/0.001113, 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.001233/0.001233, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9365/0.9365, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 60.47 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4167/0.5517, allocations: 169.4 MB / 0.7499 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008113/0.5598, allocations: 7.128 MB / 0.7569 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004846/0.5604, allocations: 12.03 kB / 0.7569 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005343/0.5609, allocations: 171 kB / 0.7571 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.5643, allocations: 1.269 MB / 0.7583 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.566, allocations: 0.6282 MB / 0.7589 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.5669, allocations: 0.7558 MB / 0.7596 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.5674, allocations: 294.7 kB / 0.7599 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5685, allocations: 0.5682 MB / 0.7605 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007484/0.5692, allocations: 418.5 kB / 0.7609 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.5693, allocations: 28 kB / 0.7609 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.5715, allocations: 1.243 MB / 0.7621 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.5716, allocations: 119.7 kB / 0.7622 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.5718, allocations: 175.1 kB / 0.7624 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.5731, allocations: 0.9039 MB / 0.7633 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5732, allocations: 0 / 0.7633 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5732, allocations: 4 kB / 0.7633 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.5732, allocations: 0 / 0.7633 GB, free: 5.754 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009456/0.5741, allocations: 0.6973 MB / 0.764 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5742, allocations: 8.031 kB / 0.764 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.5743, allocations: 66.53 kB / 0.764 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.5753, allocations: 127.9 kB / 0.7642 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.5757, allocations: 321.2 kB / 0.7645 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.5758, allocations: 58.2 kB / 0.7645 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.5758, allocations: 24 kB / 0.7645 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.5764, allocations: 370.2 kB / 0.7649 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5765, allocations: 0 / 0.7649 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5765, allocations: 12 kB / 0.7649 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5765, allocations: 17.12 kB / 0.7649 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.577, allocations: 274 kB / 0.7652 GB, free: 3.688 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.001718/0.5788, allocations: 1.503 MB / 0.7667 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.5792, allocations: 186.6 kB / 0.7668 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.5794, allocations: 120.7 kB / 0.767 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.5804, allocations: 0.5053 MB / 0.7674 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5805, allocations: 34.56 kB / 0.7675 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.5805, allocations: 0 / 0.7675 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009653/0.5815, allocations: 357.9 kB / 0.7678 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5815, allocations: 55.41 kB / 0.7679 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/0.5818, allocations: 312.5 kB / 0.7682 GB, free: 376 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.5818, allocations: 33.7 kB / 0.7682 GB, free: 336 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.582, allocations: 184 kB / 0.7684 GB, free: 148 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.582, allocations: 51.33 kB / 0.7684 GB, free: 96 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.5821, allocations: 49.61 kB / 0.7685 GB, free: 40 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5822, allocations: 342.8 kB / 0.7688 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.5824, allocations: 87.83 kB / 0.7689 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.5827, allocations: 151.1 kB / 0.769 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.5831, allocations: 241.2 kB / 0.7693 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5831, allocations: 0 / 0.7693 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005741/0.5837, allocations: 285.1 kB / 0.7695 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5837, allocations: 4 kB / 0.7695 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.5837, allocations: 4 kB / 0.7695 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.5838, allocations: 0 / 0.7695 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.584, allocations: 39.98 kB / 0.7696 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.584, allocations: 7.938 kB / 0.7696 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5842, allocations: 31.67 kB / 0.7696 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.5843, allocations: 19.92 kB / 0.7696 GB, free: 14.8 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.0001484/0.5844, allocations: 151.2 kB / 0.7698 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5846, allocations: 35.62 kB / 0.7698 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007051/0.5853, allocations: 309.9 kB / 0.7701 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.5853, allocations: 4 kB / 0.7701 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5853, allocations: 3.938 kB / 0.7701 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5853, allocations: 4 kB / 0.7701 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.5866, allocations: 0.8121 MB / 0.7709 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5866, allocations: 0 / 0.7709 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.5868, allocations: 35.97 kB / 0.7709 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.5868, allocations: 3.938 kB / 0.771 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5868, allocations: 9.125 kB / 0.771 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5869, allocations: 7.938 kB / 0.771 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5869, allocations: 6.734 kB / 0.771 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.5875, allocations: 397.2 kB / 0.7714 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.5876, allocations: 140.6 kB / 0.7715 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.5877, allocations: 8.047 kB / 0.7715 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.5879, allocations: 15.97 kB / 0.7715 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.588, allocations: 15.98 kB / 0.7715 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.588, allocations: 8.875 kB / 0.7715 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002053/0.5882, allocations: 227 kB / 0.7717 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5882, allocations: 0 / 0.7717 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005115/0.5888, allocations: 127.8 kB / 0.7719 GB, free: 12.38 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 (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.001304/0.5901, allocations: 1.048 MB / 0.7729 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.5906, allocations: 227.7 kB / 0.7731 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5906, allocations: 0 / 0.7731 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.5909, allocations: 115.8 kB / 0.7732 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.5918, allocations: 166.4 kB / 0.7734 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003876/0.5956, allocations: 3.058 MB / 0.7764 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.596, allocations: 0.7834 MB / 0.7771 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.5963, allocations: 87.22 kB / 0.7772 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.5965, allocations: 107.3 kB / 0.7773 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/0.5965, allocations: 0 / 0.7773 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.6261, allocations: 10.4 MB / 0.7875 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.375, allocations: 6.875 kB / 0.7875 GB, free: 12.36 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)