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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009067/0.009066, allocations: 171.1 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7508/0.7508, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 104.3 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004364, allocations: 12 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.501/0.5014, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.715, allocations: 1.83 GB / 2.479 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/5.715, allocations: 93.23 kB / 2.479 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9834/6.698, allocations: 224.8 MB / 2.699 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/6.699, allocations: 0 / 2.699 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.468e-05/6.699, allocations: 8 kB / 2.699 GB, free: 191.1 MB / 0.6823 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.001257/6.7, allocations: 0.6568 MB / 2.7 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/6.7, allocations: 8.031 kB / 2.7 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/6.7, allocations: 50.55 kB / 2.7 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/6.701, allocations: 75.64 kB / 2.7 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/6.701, allocations: 289.4 kB / 2.7 GB, free: 190 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/6.701, allocations: 21.44 kB / 2.7 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/6.701, allocations: 21.38 kB / 2.7 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/6.702, allocations: 282.2 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/6.702, allocations: 4 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/6.702, allocations: 12 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/6.702, allocations: 11.94 kB / 2.7 GB, free: 189.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/6.702, allocations: 199.8 kB / 2.701 GB, free: 189.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/6.704, allocations: 1.233 MB / 2.702 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/6.704, allocations: 177 kB / 2.702 GB, free: 187.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/6.704, allocations: 323.2 kB / 2.702 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/6.705, allocations: 34.56 kB / 2.702 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.886e-06/6.705, allocations: 0 / 2.702 GB, free: 187.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0007324/6.705, allocations: 285.8 kB / 2.703 GB, free: 187.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/6.705, allocations: 166.2 kB / 2.703 GB, free: 187 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/6.706, allocations: 254.2 kB / 2.703 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/6.706, allocations: 25.7 kB / 2.703 GB, free: 186.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/6.706, allocations: 152.1 kB / 2.703 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/6.706, allocations: 51.11 kB / 2.703 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/6.706, allocations: 0 / 2.703 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/6.706, allocations: 338.8 kB / 2.704 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/6.706, allocations: 71.94 kB / 2.704 GB, free: 186.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/6.706, allocations: 150.6 kB / 2.704 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/6.706, allocations: 95.83 kB / 2.704 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/6.706, allocations: 0 / 2.704 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004333/6.707, allocations: 249.2 kB / 2.704 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/6.707, allocations: 15.3 kB / 2.704 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/6.707, allocations: 0 / 2.704 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/6.707, allocations: 4 kB / 2.704 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/6.707, allocations: 47.91 kB / 2.704 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/6.707, allocations: 4 kB / 2.704 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/6.707, allocations: 31.77 kB / 2.704 GB, free: 185.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/6.707, allocations: 20 kB / 2.704 GB, free: 185.4 MB / 0.6823 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.0001363/6.708, allocations: 149.8 kB / 2.704 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/6.708, allocations: 23.72 kB / 2.704 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/6.708, allocations: 193.7 kB / 2.705 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/6.708, allocations: 0 / 2.705 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/6.708, allocations: 8.125 kB / 2.705 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/6.708, allocations: 0 / 2.705 GB, free: 185 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/6.709, allocations: 0.8548 MB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/6.709, allocations: 4 kB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/6.709, allocations: 23.98 kB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/6.709, allocations: 0 / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/6.709, allocations: 8.156 kB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/6.709, allocations: 7.938 kB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/6.709, allocations: 4 kB / 2.705 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/6.71, allocations: 399.9 kB / 2.706 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.922e-05/6.71, allocations: 120.8 kB / 2.706 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/6.71, allocations: 0 / 2.706 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/6.71, allocations: 16.75 kB / 2.706 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/6.71, allocations: 11.98 kB / 2.706 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/6.71, allocations: 8.062 kB / 2.706 GB, free: 183.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001943/6.71, allocations: 229.9 kB / 2.706 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/6.71, allocations: 0 / 2.706 GB, free: 183.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008713/6.711, allocations: 187.9 kB / 2.706 GB, free: 183 MB / 0.6823 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 (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.002174/6.713, allocations: 2.225 MB / 2.709 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003971/6.714, allocations: 152 kB / 2.709 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/6.714, allocations: 4 kB / 2.709 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/6.714, allocations: 55.91 kB / 2.709 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/6.715, allocations: 136.2 kB / 2.709 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/6.717, allocations: 2.757 MB / 2.712 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/6.717, allocations: 0.7638 MB / 2.712 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002418/6.718, allocations: 63.09 kB / 2.712 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/6.718, allocations: 79.42 kB / 2.712 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of SimCode: time 7.52e-07/6.718, allocations: 0 / 2.712 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04632/6.764, allocations: 23.21 MB / 2.735 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/6.764, allocations: 211 kB / 2.735 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/9.647, allocations: 0 / 2.735 GB, free: 153.5 MB / 0.6823 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/linux/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)