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.001343/0.001343, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002061/0.002061, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.497/2.497, allocations: 223.2 MB / 239.9 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.824/1.824, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3375, allocations: 82.31 MB / 0.5873 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.9684/1.306, allocations: 137 MB / 0.721 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009533/1.316, allocations: 3.57 MB / 0.7245 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005511/1.316, allocations: 7.312 kB / 0.7245 GB, free: 8.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/1.317, allocations: 157.2 kB / 0.7247 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/1.32, allocations: 363.8 kB / 0.725 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/1.324, allocations: 0.5646 MB / 0.7256 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001655/1.325, allocations: 347 kB / 0.7259 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/1.326, allocations: 172.8 kB / 0.7261 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/1.328, allocations: 330.9 kB / 0.7264 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/1.329, allocations: 228.2 kB / 0.7266 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.321e-05/1.329, allocations: 10.69 kB / 0.7266 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/1.332, allocations: 434.8 kB / 0.727 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/1.332, allocations: 71.64 kB / 0.7271 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000215/1.332, allocations: 75.17 kB / 0.7272 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/1.334, allocations: 352.1 kB / 0.7275 GB, free: 7.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.334, allocations: 0 / 0.7275 GB, free: 7.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.229e-06/1.334, allocations: 3.219 kB / 0.7275 GB, free: 7.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.027e-06/1.334, allocations: 0 / 0.7275 GB, free: 7.219 MB / 0.545 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.001695/1.335, allocations: 0.5356 MB / 0.728 GB, free: 6.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/1.335, allocations: 13.67 kB / 0.728 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/1.336, allocations: 54.61 kB / 0.7281 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/1.337, allocations: 74.53 kB / 0.7282 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008612/1.338, allocations: 272.8 kB / 0.7284 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.286e-05/1.338, allocations: 12.17 kB / 0.7284 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/1.338, allocations: 22.03 kB / 0.7285 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.339, allocations: 286.6 kB / 0.7287 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.339, allocations: 1.438 kB / 0.7287 GB, free: 6.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/1.339, allocations: 9.859 kB / 0.7287 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.34, allocations: 6.25 kB / 0.7287 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000946/1.34, allocations: 216.9 kB / 0.7289 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/1.344, allocations: 1.262 MB / 0.7302 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/1.344, allocations: 196.2 kB / 0.7304 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/1.345, allocations: 135.2 kB / 0.7305 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/1.345, allocations: 42.11 kB / 0.7305 GB, free: 4.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 7.535e-06/1.345, allocations: 3.984 kB / 0.7305 GB, free: 4.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001421/1.347, allocations: 328.9 kB / 0.7309 GB, free: 4.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/1.347, allocations: 157 kB / 0.731 GB, free: 4.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/1.347, allocations: 283.7 kB / 0.7313 GB, free: 4.422 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/1.347, allocations: 31.64 kB / 0.7313 GB, free: 4.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/1.348, allocations: 151.7 kB / 0.7315 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/1.348, allocations: 48.69 kB / 0.7315 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/1.348, allocations: 1.562 kB / 0.7315 GB, free: 4.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002661/1.348, allocations: 337.4 kB / 0.7318 GB, free: 3.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.348, allocations: 80.86 kB / 0.7319 GB, free: 3.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/1.349, allocations: 165.7 kB / 0.7321 GB, free: 3.758 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/1.349, allocations: 100.2 kB / 0.7322 GB, free: 3.727 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.349, allocations: 0 / 0.7322 GB, free: 3.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0011/1.35, allocations: 275.5 kB / 0.7324 GB, free: 3.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/1.35, allocations: 6.234 kB / 0.7324 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/1.35, allocations: 6.984 kB / 0.7324 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/1.35, allocations: 2.406 kB / 0.7324 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/1.351, allocations: 47.16 kB / 0.7325 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.351, allocations: 6.969 kB / 0.7325 GB, free: 3.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/1.351, allocations: 34.56 kB / 0.7325 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/1.351, allocations: 15.36 kB / 0.7325 GB, free: 3.582 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/1.352, allocations: 140.4 kB / 0.7327 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/1.352, allocations: 29.56 kB / 0.7327 GB, free: 3.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008536/1.353, allocations: 229 kB / 0.7329 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.353, allocations: 6.734 kB / 0.7329 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.353, allocations: 0 / 0.7329 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.353, allocations: 11.25 kB / 0.7329 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/1.355, allocations: 0.9267 MB / 0.7338 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.355, allocations: 2.375 kB / 0.7338 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/1.355, allocations: 32.12 kB / 0.7339 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.355, allocations: 6.375 kB / 0.7339 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/1.355, allocations: 7.672 kB / 0.7339 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.355, allocations: 3.641 kB / 0.7339 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.355, allocations: 3.938 kB / 0.7339 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/1.356, allocations: 485.3 kB / 0.7343 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/1.356, allocations: 108.9 kB / 0.7345 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/1.356, allocations: 11.41 kB / 0.7345 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/1.356, allocations: 10.84 kB / 0.7345 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.143e-05/1.357, allocations: 21.05 kB / 0.7345 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/1.357, allocations: 5.516 kB / 0.7345 GB, free: 2.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004025/1.357, allocations: 224.9 kB / 0.7347 GB, free: 1.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.357, allocations: 0 / 0.7347 GB, free: 1.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000843/1.358, allocations: 95.52 kB / 0.7348 GB, free: 1.934 MB / 0.545 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002655/1.36, allocations: 1.456 MB / 0.7362 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007593/1.361, allocations: 196 kB / 0.7364 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.361, allocations: 7.438 kB / 0.7364 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002991/1.362, allocations: 81.03 kB / 0.7365 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/1.363, allocations: 136.8 kB / 0.7366 GB, free: 0.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/1.368, allocations: 2.842 MB / 0.7394 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/1.369, allocations: 0.7678 MB / 0.7402 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005102/1.369, allocations: 62 kB / 0.7402 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/1.37, allocations: 72.72 kB / 0.7403 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.713e-06/1.37, allocations: 4 kB / 0.7403 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/1.414, allocations: 8.07 MB / 0.7482 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000402/1.414, allocations: 203.7 kB / 0.7484 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.559, allocations: 7.875 kB / 0.7484 GB, free: 7.102 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: