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.001442/0.001442, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7603/0.7603, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0008703/0.0008703, allocations: 101.1 kB / 478.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.069e-05, allocations: 8 kB / 0.5535 GB, free: 8.996 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.4885, allocations: 82.3 MB / 0.6339 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.176/5.665, allocations: 1.829 GB / 2.463 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/5.665, allocations: 85.27 kB / 2.463 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9312/6.597, allocations: 221.6 MB / 2.68 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/6.597, allocations: 2.469 kB / 2.68 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.605e-05/6.597, allocations: 12.92 kB / 2.68 GB, free: 201.9 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.0014/6.598, allocations: 0.616 MB / 2.68 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/6.598, allocations: 10.25 kB / 2.68 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/6.599, allocations: 75.52 kB / 2.68 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/6.599, allocations: 299.9 kB / 2.681 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/6.6, allocations: 3.406 kB / 2.681 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/6.6, allocations: 16.27 kB / 2.681 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000281/6.6, allocations: 140.8 kB / 2.681 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/6.6, allocations: 244.4 kB / 2.681 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/6.6, allocations: 1.969 kB / 2.681 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/6.6, allocations: 0 / 2.681 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/6.6, allocations: 8.719 kB / 2.681 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/6.602, allocations: 1.44 MB / 2.682 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/6.602, allocations: 144.5 kB / 2.683 GB, free: 200 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/6.602, allocations: 63.69 kB / 2.683 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/6.603, allocations: 112.3 kB / 2.683 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/6.603, allocations: 43.72 kB / 2.683 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/6.603, allocations: 0 / 2.683 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004802/6.603, allocations: 138 kB / 2.683 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/6.603, allocations: 163.1 kB / 2.683 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/6.603, allocations: 205.5 kB / 2.683 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/6.603, allocations: 25.7 kB / 2.683 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/6.604, allocations: 167.7 kB / 2.683 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/6.604, allocations: 33.16 kB / 2.683 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/6.604, allocations: 0 / 2.683 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.884e-05/6.604, allocations: 337.8 kB / 2.684 GB, free: 199 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/6.604, allocations: 48.06 kB / 2.684 GB, free: 199 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/6.604, allocations: 132.8 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/6.604, allocations: 83.59 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/6.604, allocations: 0 / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004717/6.605, allocations: 222.7 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/6.605, allocations: 8.969 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/6.605, allocations: 0 / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/6.605, allocations: 3.438 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/6.605, allocations: 44.39 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/6.605, allocations: 3.891 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/6.605, allocations: 33.19 kB / 2.684 GB, free: 198.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/6.605, allocations: 7.812 kB / 2.684 GB, free: 198.9 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 () * 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 9.025e-05/6.605, allocations: 110.1 kB / 2.684 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003569/6.606, allocations: 145.6 kB / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/6.606, allocations: 19.09 kB / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/6.606, allocations: 109.6 kB / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/6.606, allocations: 3.781 kB / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/6.606, allocations: 9.891 kB / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/6.606, allocations: 0 / 2.685 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008167/6.607, allocations: 0.7959 MB / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.607, allocations: 0 / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/6.607, allocations: 27.98 kB / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/6.607, allocations: 3.719 kB / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/6.607, allocations: 0 / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/6.607, allocations: 3.5 kB / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/6.607, allocations: 3.688 kB / 2.686 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004288/6.608, allocations: 360.6 kB / 2.686 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/6.608, allocations: 112.9 kB / 2.686 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/6.608, allocations: 3.875 kB / 2.686 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/6.608, allocations: 14.53 kB / 2.686 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/6.608, allocations: 6.875 kB / 2.686 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/6.608, allocations: 7.625 kB / 2.686 GB, free: 197.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001221/6.608, allocations: 162.3 kB / 2.686 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/6.608, allocations: 0 / 2.686 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007648/6.609, allocations: 176.1 kB / 2.686 GB, free: 197.6 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 () * 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.002683/6.612, allocations: 2.302 MB / 2.689 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000254/6.612, allocations: 109.5 kB / 2.689 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.612, allocations: 0 / 2.689 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/6.612, allocations: 38.64 kB / 2.689 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/6.613, allocations: 66.34 kB / 2.689 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/6.614, allocations: 448.6 kB / 2.689 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/6.614, allocations: 0.7565 MB / 2.69 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001894/6.614, allocations: 47.83 kB / 2.69 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/6.614, allocations: 71.91 kB / 2.69 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/6.614, allocations: 0 / 2.69 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0459/6.66, allocations: 13.17 MB / 2.703 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/6.66, allocations: 153.9 kB / 2.703 GB, free: 194.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/8.762, allocations: 0 / 2.703 GB, free: 194.3 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)