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.0007988/0.0007988, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.005006/0.005006, allocations: 169.5 kB / 16.26 MB, free: 6.613 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.37/1.37, allocations: 223.2 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7448/0.7448, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 12 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3774, allocations: 81.56 MB / 0.5837 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1619/0.5394, allocations: 158.9 MB / 0.7389 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005311/0.5448, allocations: 4.567 MB / 0.7434 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.545, allocations: 11.94 kB / 0.7434 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.5454, allocations: 91.36 kB / 0.7435 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.5465, allocations: 0.5058 MB / 0.744 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5481, allocations: 0.7236 MB / 0.7447 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000724/0.5488, allocations: 0.8106 MB / 0.7455 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002729/0.5491, allocations: 177.5 kB / 0.7456 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007775/0.5499, allocations: 430.3 kB / 0.746 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.5504, allocations: 290.9 kB / 0.7463 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.5504, allocations: 12 kB / 0.7463 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.552, allocations: 1.153 MB / 0.7475 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.5521, allocations: 83.72 kB / 0.7475 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.5522, allocations: 145.1 kB / 0.7477 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.5531, allocations: 0.7673 MB / 0.7484 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5531, allocations: 0 / 0.7484 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5531, allocations: 4 kB / 0.7484 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.627e-06/0.5531, allocations: 0 / 0.7484 GB, free: 7.066 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.0007747/0.5539, allocations: 0.5568 MB / 0.749 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5539, allocations: 8.031 kB / 0.749 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.554, allocations: 50.55 kB / 0.749 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006334/0.5546, allocations: 71.64 kB / 0.7491 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.555, allocations: 295.9 kB / 0.7494 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.555, allocations: 16 kB / 0.7494 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.5551, allocations: 16 kB / 0.7494 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.5556, allocations: 295.3 kB / 0.7497 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5556, allocations: 0 / 0.7497 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.5556, allocations: 12 kB / 0.7497 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.5556, allocations: 4 kB / 0.7497 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.5561, allocations: 215.8 kB / 0.7499 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.5575, allocations: 1.257 MB / 0.7511 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.5578, allocations: 169 kB / 0.7513 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.558, allocations: 120.4 kB / 0.7514 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/0.5588, allocations: 347.2 kB / 0.7518 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5588, allocations: 38.55 kB / 0.7518 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.5588, allocations: 4 kB / 0.7518 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007737/0.5596, allocations: 297.4 kB / 0.7521 GB, free: 3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.5597, allocations: 162.2 kB / 0.7522 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.56, allocations: 287 kB / 0.7525 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.56, allocations: 25.7 kB / 0.7525 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/0.5601, allocations: 147.9 kB / 0.7527 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.5602, allocations: 51.42 kB / 0.7527 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.5602, allocations: 21.66 kB / 0.7527 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5603, allocations: 338.8 kB / 0.7531 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.5605, allocations: 75.88 kB / 0.7531 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5607, allocations: 150.6 kB / 0.7533 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.5611, allocations: 223.5 kB / 0.7535 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5611, allocations: 0 / 0.7535 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005088/0.5616, allocations: 261.2 kB / 0.7537 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5617, allocations: 8 kB / 0.7537 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5617, allocations: 0 / 0.7537 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5617, allocations: 4 kB / 0.7538 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.5619, allocations: 43.92 kB / 0.7538 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.5619, allocations: 3.938 kB / 0.7538 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.5621, allocations: 27.83 kB / 0.7538 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.5621, allocations: 20.05 kB / 0.7538 GB, free: 1.055 MB / 0.5762 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.0001315/0.5623, allocations: 155.2 kB / 0.754 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.5624, allocations: 23.72 kB / 0.754 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.5629, allocations: 205.6 kB / 0.7542 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5629, allocations: 4 kB / 0.7542 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5629, allocations: 3.938 kB / 0.7542 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.563, allocations: 8 kB / 0.7542 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.5639, allocations: 0.8627 MB / 0.7551 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5639, allocations: 0 / 0.7551 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.564, allocations: 27.92 kB / 0.7551 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.5641, allocations: 0 / 0.7551 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.5641, allocations: 8 kB / 0.7551 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5641, allocations: 4 kB / 0.7551 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5641, allocations: 0 / 0.7551 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.5646, allocations: 355.5 kB / 0.7554 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-05/0.5648, allocations: 120.8 kB / 0.7556 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.5648, allocations: 8 kB / 0.7556 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.565, allocations: 11.98 kB / 0.7556 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.565, allocations: 16.03 kB / 0.7556 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.565, allocations: 7.984 kB / 0.7556 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000217/0.5653, allocations: 237.9 kB / 0.7558 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5653, allocations: 0 / 0.7558 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000455/0.5657, allocations: 95.91 kB / 0.7559 GB, free: 14.79 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.001131/0.5669, allocations: 0.9983 MB / 0.7569 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.5673, allocations: 155.9 kB / 0.757 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5673, allocations: 0 / 0.757 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.5674, allocations: 76.52 kB / 0.7571 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008408/0.5683, allocations: 132 kB / 0.7572 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.5715, allocations: 2.875 MB / 0.76 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5718, allocations: 0.7599 MB / 0.7608 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.572, allocations: 71.09 kB / 0.7609 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.5721, allocations: 79.41 kB / 0.7609 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5721, allocations: 0 / 0.7609 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/0.8552, allocations: 8.058 MB / 0.7688 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003208/0.8555, allocations: 237.8 kB / 0.769 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.817, allocations: 3.938 kB / 0.769 GB, free: 1.32 MB / 0.5919 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)