Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.001046/0.001046, 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.001038/0.001038, allocations: 194.7 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.3/1.3, 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/package.mo): time 0.7727/0.7727, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 68.02 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3697, allocations: 80.19 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1853/0.5551, allocations: 163.2 MB / 0.7396 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005298/0.5604, allocations: 4.566 MB / 0.7441 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003472/0.5608, allocations: 15.88 kB / 0.7441 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.5612, allocations: 119.1 kB / 0.7442 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.5626, allocations: 0.5406 MB / 0.7447 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.5643, allocations: 0.7661 MB / 0.7455 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006394/0.5649, allocations: 0.5806 MB / 0.746 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.5653, allocations: 217 kB / 0.7462 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008879/0.5662, allocations: 470.3 kB / 0.7467 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.5667, allocations: 279 kB / 0.7469 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.5668, allocations: 20 kB / 0.747 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.5685, allocations: 1.005 MB / 0.7479 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.5686, allocations: 91.7 kB / 0.748 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.5688, allocations: 123.4 kB / 0.7482 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.5698, allocations: 0.7169 MB / 0.7489 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5698, allocations: 3.938 kB / 0.7489 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5698, allocations: 0 / 0.7489 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5698, allocations: 0 / 0.7489 GB, free: 4.234 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009825/0.5708, allocations: 0.5918 MB / 0.7494 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5709, allocations: 15.97 kB / 0.7494 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.5709, allocations: 50.55 kB / 0.7495 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006497/0.5716, allocations: 71.66 kB / 0.7496 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.572, allocations: 292 kB / 0.7498 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.572, allocations: 16 kB / 0.7499 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.5721, allocations: 24 kB / 0.7499 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.5726, allocations: 283.4 kB / 0.7502 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5726, allocations: 4 kB / 0.7502 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.5726, allocations: 4 kB / 0.7502 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.5726, allocations: 8 kB / 0.7502 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.5731, allocations: 207.7 kB / 0.7504 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.5747, allocations: 1.249 MB / 0.7516 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.575, allocations: 173 kB / 0.7517 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.5753, allocations: 112.2 kB / 0.7519 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008996/0.5762, allocations: 327.2 kB / 0.7522 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5762, allocations: 42.69 kB / 0.7522 GB, free: 480 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.5762, allocations: 4 kB / 0.7522 GB, free: 476 kB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007964/0.577, allocations: 281 kB / 0.7525 GB, free: 188 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.5772, allocations: 166.1 kB / 0.7526 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.5775, allocations: 279.5 kB / 0.7529 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.5776, allocations: 33.7 kB / 0.7529 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.5777, allocations: 147.8 kB / 0.7531 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.5778, allocations: 55.28 kB / 0.7531 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.5779, allocations: 37.7 kB / 0.7532 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.578, allocations: 334.8 kB / 0.7535 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.5782, allocations: 67.94 kB / 0.7536 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.5785, allocations: 152.5 kB / 0.7537 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.5789, allocations: 203.5 kB / 0.7539 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5789, allocations: 0 / 0.7539 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005124/0.5794, allocations: 249.1 kB / 0.7541 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5794, allocations: 4.375 kB / 0.7541 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5794, allocations: 4 kB / 0.7541 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5795, allocations: 0 / 0.7541 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.5796, allocations: 43.97 kB / 0.7542 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5797, allocations: 11.81 kB / 0.7542 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.5799, allocations: 31.98 kB / 0.7542 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.5799, allocations: 12 kB / 0.7542 GB, free: 14.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001335/0.5801, allocations: 151.2 kB / 0.7544 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5802, allocations: 27.72 kB / 0.7544 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.5808, allocations: 185.8 kB / 0.7546 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.5808, allocations: 0 / 0.7546 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5808, allocations: 7.938 kB / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5808, allocations: 0 / 0.7546 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009244/0.5817, allocations: 0.8589 MB / 0.7554 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5817, allocations: 0 / 0.7554 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.5819, allocations: 19.98 kB / 0.7554 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.5819, allocations: 8.156 kB / 0.7555 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5819, allocations: 11.94 kB / 0.7555 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.582, allocations: 0 / 0.7555 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.582, allocations: 7.938 kB / 0.7555 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.5825, allocations: 342.8 kB / 0.7558 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.5826, allocations: 120.8 kB / 0.7559 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.5827, allocations: 0 / 0.7559 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.5828, allocations: 8 kB / 0.7559 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.5829, allocations: 11.98 kB / 0.7559 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.5829, allocations: 8.062 kB / 0.7559 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002414/0.5831, allocations: 233.9 kB / 0.7562 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5831, allocations: 0 / 0.7562 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004526/0.5836, allocations: 99.83 kB / 0.7563 GB, free: 12.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.001278/0.5849, allocations: 0.9768 MB / 0.7572 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.5853, allocations: 151.8 kB / 0.7574 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5853, allocations: 0.5 kB / 0.7574 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.5854, allocations: 67.84 kB / 0.7574 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.5862, allocations: 137 kB / 0.7576 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.5896, allocations: 2.775 MB / 0.7603 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.59, allocations: 0.7558 MB / 0.761 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.5902, allocations: 70.92 kB / 0.7611 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5903, allocations: 75.41 kB / 0.7611 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.5903, allocations: 0 / 0.7611 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.62, allocations: 8.52 MB / 0.7695 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.824, allocations: 10.8 kB / 0.7695 GB, free: 14.48 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)