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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00124/0.00124, allocations: 193.3 kB / 16.25 MB, free: 6.625 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.239/1.239, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7184/0.7184, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 61.06 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1335, allocations: 80.2 MB / 0.5797 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3978/0.5313, allocations: 167.2 MB / 0.7429 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007456/0.5388, allocations: 7.091 MB / 0.7498 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.5392, allocations: 11.78 kB / 0.7499 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.5397, allocations: 141.2 kB / 0.75 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002535/0.5423, allocations: 1.196 MB / 0.7512 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.5436, allocations: 0.5807 MB / 0.7517 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006566/0.5442, allocations: 0.756 MB / 0.7525 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.5446, allocations: 278.6 kB / 0.7527 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008644/0.5455, allocations: 0.5648 MB / 0.7533 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.5461, allocations: 439.4 kB / 0.7537 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.5461, allocations: 30.41 kB / 0.7537 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.5478, allocations: 1.313 MB / 0.755 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5479, allocations: 119.7 kB / 0.7551 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.5481, allocations: 179.1 kB / 0.7553 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.5492, allocations: 0.9816 MB / 0.7563 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5492, allocations: 0 / 0.7563 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5492, allocations: 0 / 0.7563 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5493, allocations: 0 / 0.7563 GB, free: 14.51 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.0008798/0.5501, allocations: 0.6973 MB / 0.7569 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5502, allocations: 12.03 kB / 0.7569 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.5503, allocations: 63.98 kB / 0.757 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.5512, allocations: 131.3 kB / 0.7571 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.5516, allocations: 329.1 kB / 0.7574 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.5517, allocations: 46.27 kB / 0.7575 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.5518, allocations: 28 kB / 0.7575 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.5524, allocations: 370.2 kB / 0.7579 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5524, allocations: 0 / 0.7579 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.5524, allocations: 8 kB / 0.7579 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.5524, allocations: 11.94 kB / 0.7579 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.5529, allocations: 278 kB / 0.7582 GB, free: 12.45 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.001688/0.5546, allocations: 1.488 MB / 0.7596 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003687/0.555, allocations: 194.5 kB / 0.7598 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5552, allocations: 120 kB / 0.7599 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009748/0.5562, allocations: 0.5014 MB / 0.7604 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5562, allocations: 34.56 kB / 0.7604 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.5563, allocations: 0 / 0.7604 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008905/0.5571, allocations: 357.9 kB / 0.7608 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5572, allocations: 55.41 kB / 0.7608 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.5575, allocations: 316.5 kB / 0.7611 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5575, allocations: 25.7 kB / 0.7611 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5576, allocations: 188 kB / 0.7613 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.5577, allocations: 55.23 kB / 0.7614 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.5578, allocations: 45.61 kB / 0.7614 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5579, allocations: 346.7 kB / 0.7618 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.5581, allocations: 87.94 kB / 0.7618 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.5583, allocations: 148 kB / 0.762 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.5587, allocations: 236.2 kB / 0.7622 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5587, allocations: 0 / 0.7622 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005516/0.5593, allocations: 281.1 kB / 0.7625 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5593, allocations: 10.03 kB / 0.7625 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5593, allocations: 0 / 0.7625 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5593, allocations: 4.188 kB / 0.7625 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.5596, allocations: 51.84 kB / 0.7625 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5596, allocations: 0 / 0.7625 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.5598, allocations: 39.67 kB / 0.7626 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.5598, allocations: 11.98 kB / 0.7626 GB, free: 7.574 MB / 0.5762 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.0001454/0.56, allocations: 155.3 kB / 0.7627 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.947e-05/0.5601, allocations: 27.62 kB / 0.7628 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.5608, allocations: 316.7 kB / 0.7631 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5608, allocations: 0 / 0.7631 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5608, allocations: 7.938 kB / 0.7631 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5608, allocations: 0 / 0.7631 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.562, allocations: 0.8053 MB / 0.7639 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.562, allocations: 4 kB / 0.7639 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.5622, allocations: 40.19 kB / 0.7639 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5622, allocations: 7.938 kB / 0.7639 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5623, allocations: 7.938 kB / 0.7639 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5623, allocations: 7.938 kB / 0.7639 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5623, allocations: 0 / 0.7639 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005561/0.5628, allocations: 401.9 kB / 0.7643 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.563, allocations: 136.6 kB / 0.7644 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.563, allocations: 4 kB / 0.7644 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.5633, allocations: 27.97 kB / 0.7645 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.5634, allocations: 11.98 kB / 0.7645 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.5634, allocations: 12 kB / 0.7645 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002041/0.5636, allocations: 227 kB / 0.7647 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5636, allocations: 0 / 0.7647 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004458/0.5641, allocations: 123.8 kB / 0.7648 GB, free: 5.141 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 (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.001217/0.5653, allocations: 1.07 MB / 0.7659 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.5658, allocations: 219.9 kB / 0.7661 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5658, allocations: 0 / 0.7661 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.566, allocations: 115.8 kB / 0.7662 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007929/0.5668, allocations: 157 kB / 0.7663 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.5706, allocations: 3.152 MB / 0.7694 GB, free: 268 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.5709, allocations: 0.7911 MB / 0.7702 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00029/0.5712, allocations: 94.23 kB / 0.7703 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.5714, allocations: 95.41 kB / 0.7704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5714, allocations: 0 / 0.7704 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/0.5919, allocations: 10.25 MB / 0.7804 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/0.5921, allocations: 227 kB / 0.7806 GB, free: 5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.441, allocations: 0 / 0.7806 GB, free: 5 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)