Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_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.005443/0.005443, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001171/0.001171, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8942/0.8942, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.88 kB / 0.5852 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3814, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1707/0.5522, allocations: 163.2 MB / 0.8236 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005797/0.558, allocations: 4.583 MB / 0.8281 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.5584, allocations: 11.94 kB / 0.8281 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004404/0.5589, allocations: 123.1 kB / 0.8282 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.5602, allocations: 0.5601 MB / 0.8287 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.562, allocations: 0.7767 MB / 0.8295 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.5627, allocations: 0.5768 MB / 0.83 GB, free: 7.109 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.5631, allocations: 221.1 kB / 0.8303 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009249/0.564, allocations: 478.2 kB / 0.8307 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.5646, allocations: 306.3 kB / 0.831 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.5646, allocations: 16 kB / 0.831 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.5664, allocations: 1.005 MB / 0.832 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.5665, allocations: 87.78 kB / 0.8321 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.5667, allocations: 123.3 kB / 0.8322 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.5677, allocations: 0.7219 MB / 0.8329 GB, free: 4.172 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5677, allocations: 7.938 kB / 0.8329 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5677, allocations: 0 / 0.8329 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.5678, allocations: 0 / 0.8329 GB, free: 4.164 MB / 0.6544 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.0008796/0.5686, allocations: 0.6028 MB / 0.8335 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5687, allocations: 8.031 kB / 0.8335 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.5687, allocations: 54.55 kB / 0.8336 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.5694, allocations: 75.78 kB / 0.8336 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.5698, allocations: 291.5 kB / 0.8339 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5699, allocations: 16 kB / 0.8339 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.5699, allocations: 16 kB / 0.8339 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.5704, allocations: 299.3 kB / 0.8342 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5704, allocations: 4 kB / 0.8342 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.5704, allocations: 4 kB / 0.8342 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.5705, allocations: 4 kB / 0.8342 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004217/0.5709, allocations: 211.7 kB / 0.8344 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.5724, allocations: 1.238 MB / 0.8357 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.5727, allocations: 173 kB / 0.8358 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.5729, allocations: 112.2 kB / 0.8359 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/0.5736, allocations: 339.1 kB / 0.8363 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.5737, allocations: 42.69 kB / 0.8363 GB, free: 384 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.5737, allocations: 4 kB / 0.8363 GB, free: 380 kB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007424/0.5744, allocations: 277.1 kB / 0.8366 GB, free: 96 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.5745, allocations: 166.2 kB / 0.8367 GB, free: 15.89 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.5748, allocations: 283.5 kB / 0.837 GB, free: 15.62 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5748, allocations: 33.7 kB / 0.837 GB, free: 15.58 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.5749, allocations: 151.9 kB / 0.8372 GB, free: 15.43 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.575, allocations: 47.64 kB / 0.8372 GB, free: 15.38 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.575, allocations: 37.7 kB / 0.8372 GB, free: 15.34 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5752, allocations: 338.8 kB / 0.8376 GB, free: 15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.5753, allocations: 63.95 kB / 0.8376 GB, free: 14.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.5756, allocations: 144.5 kB / 0.8378 GB, free: 14.76 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/0.5759, allocations: 211.5 kB / 0.838 GB, free: 14.53 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5759, allocations: 0 / 0.838 GB, free: 14.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005055/0.5765, allocations: 261.2 kB / 0.8382 GB, free: 14.27 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5765, allocations: 4 kB / 0.8382 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5765, allocations: 4 kB / 0.8382 GB, free: 14.26 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5765, allocations: 4 kB / 0.8382 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.5767, allocations: 43.91 kB / 0.8383 GB, free: 14.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5767, allocations: 7.938 kB / 0.8383 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.5769, allocations: 32.02 kB / 0.8383 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.577, allocations: 16 kB / 0.8383 GB, free: 14.16 MB / 0.67 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.0001294/0.5771, allocations: 141.8 kB / 0.8385 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5773, allocations: 27.86 kB / 0.8385 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.5777, allocations: 186.1 kB / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5777, allocations: 7.938 kB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5777, allocations: 0 / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5777, allocations: 3.984 kB / 0.8387 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000951/0.5787, allocations: 0.851 MB / 0.8395 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5787, allocations: 0 / 0.8395 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5788, allocations: 27.97 kB / 0.8395 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5788, allocations: 128 / 0.8395 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.5789, allocations: 16.16 kB / 0.8396 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5789, allocations: 0 / 0.8396 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.5789, allocations: 7.938 kB / 0.8396 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.5794, allocations: 339.4 kB / 0.8399 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.5795, allocations: 112.9 kB / 0.84 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.5796, allocations: 8 kB / 0.84 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.5798, allocations: 7.984 kB / 0.84 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.5798, allocations: 8 kB / 0.84 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5798, allocations: 8.047 kB / 0.84 GB, free: 12.27 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002212/0.58, allocations: 237.9 kB / 0.8402 GB, free: 12.04 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5801, allocations: 0 / 0.8402 GB, free: 12.04 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004494/0.5805, allocations: 99.75 kB / 0.8403 GB, free: 11.95 MB / 0.67 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.00121/0.5817, allocations: 0.9983 MB / 0.8413 GB, free: 10.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.5821, allocations: 139.8 kB / 0.8414 GB, free: 10.78 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5821, allocations: 4 kB / 0.8415 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.5823, allocations: 64.7 kB / 0.8415 GB, free: 10.71 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007524/0.5831, allocations: 136.7 kB / 0.8416 GB, free: 10.58 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.5863, allocations: 2.77 MB / 0.8444 GB, free: 7.652 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.5866, allocations: 0.7635 MB / 0.8451 GB, free: 6.863 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001968/0.5868, allocations: 58.95 kB / 0.8452 GB, free: 6.805 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.5869, allocations: 79.41 kB / 0.8452 GB, free: 6.727 MB / 0.67 GB Notification: Performance of SimCode: time 3.2e-07/0.5869, allocations: 0 / 0.8452 GB, free: 6.727 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.6136, allocations: 8.608 MB / 0.8536 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.515, allocations: 4.062 kB / 0.8536 GB, free: 14.27 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy_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_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)