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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.01446/0.01446, allocations: 171.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.37/1.37, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.135/3.135, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001704/0.001704, allocations: 91.38 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005045/0.0005045, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.834, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.328/10.16, allocations: 1.83 GB / 2.479 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/10.16, allocations: 89.27 kB / 2.479 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.589/11.75, allocations: 224.8 MB / 2.699 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.38e-06/11.75, allocations: 0 / 2.699 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.397e-05/11.75, allocations: 12 kB / 2.699 GB, free: 159.8 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.002199/11.75, allocations: 0.6467 MB / 2.7 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.832e-05/11.75, allocations: 8.031 kB / 2.7 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.586e-05/11.75, allocations: 50.55 kB / 2.7 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/11.76, allocations: 75.64 kB / 2.7 GB, free: 159 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008366/11.76, allocations: 293.1 kB / 2.7 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.528e-05/11.76, allocations: 25.38 kB / 2.7 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/11.76, allocations: 17.03 kB / 2.7 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008119/11.76, allocations: 281.3 kB / 2.7 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/11.76, allocations: 4 kB / 2.7 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/11.76, allocations: 11.95 kB / 2.7 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/11.76, allocations: 8 kB / 2.7 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/11.76, allocations: 195.8 kB / 2.701 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/11.76, allocations: 1.234 MB / 2.702 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/11.76, allocations: 181 kB / 2.702 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/11.76, allocations: 331.3 kB / 2.702 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/11.76, allocations: 38.5 kB / 2.702 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 4.008e-06/11.76, allocations: 0 / 2.702 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.001406/11.76, allocations: 285.4 kB / 2.703 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/11.76, allocations: 158.3 kB / 2.703 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004452/11.76, allocations: 262.1 kB / 2.703 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/11.76, allocations: 25.7 kB / 2.703 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/11.76, allocations: 148.2 kB / 2.703 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/11.76, allocations: 51.3 kB / 2.703 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/11.76, allocations: 0 / 2.703 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000141/11.76, allocations: 342.8 kB / 2.704 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/11.77, allocations: 71.94 kB / 2.704 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/11.77, allocations: 155.1 kB / 2.704 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/11.77, allocations: 87.94 kB / 2.704 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/11.77, allocations: 4 kB / 2.704 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000866/11.77, allocations: 245.1 kB / 2.704 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/11.77, allocations: 9.344 kB / 2.704 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/11.77, allocations: 4 kB / 2.704 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/11.77, allocations: 7.938 kB / 2.704 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/11.77, allocations: 43.97 kB / 2.704 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/11.77, allocations: 4 kB / 2.704 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/11.77, allocations: 27.73 kB / 2.704 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/11.77, allocations: 16 kB / 2.704 GB, free: 154.1 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.0002504/11.77, allocations: 158 kB / 2.704 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/11.77, allocations: 27.7 kB / 2.704 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/11.77, allocations: 189.7 kB / 2.705 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/11.77, allocations: 4 kB / 2.705 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/11.77, allocations: 4 kB / 2.705 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/11.77, allocations: 0 / 2.705 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/11.77, allocations: 0.851 MB / 2.705 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/11.77, allocations: 4 kB / 2.705 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/11.77, allocations: 23.98 kB / 2.705 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.23e-05/11.77, allocations: 0 / 2.705 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/11.77, allocations: 11.94 kB / 2.705 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/11.77, allocations: 3.938 kB / 2.705 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/11.77, allocations: 8.156 kB / 2.705 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/11.77, allocations: 399.8 kB / 2.706 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/11.77, allocations: 121 kB / 2.706 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.844e-05/11.77, allocations: 8 kB / 2.706 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/11.77, allocations: 11.98 kB / 2.706 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/11.77, allocations: 15.98 kB / 2.706 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/11.77, allocations: 7.953 kB / 2.706 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000392/11.77, allocations: 234 kB / 2.706 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.21e-07/11.77, allocations: 0 / 2.706 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001568/11.77, allocations: 187.9 kB / 2.706 GB, free: 151.7 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.004432/11.78, allocations: 2.221 MB / 2.709 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008249/11.78, allocations: 152 kB / 2.709 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/11.78, allocations: 4 kB / 2.709 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/11.78, allocations: 55.91 kB / 2.709 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/11.78, allocations: 126.8 kB / 2.709 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/11.79, allocations: 2.769 MB / 2.712 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/11.79, allocations: 0.7677 MB / 2.712 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004524/11.79, allocations: 54.94 kB / 2.712 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/11.79, allocations: 71.42 kB / 2.712 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of SimCode: time 2.364e-06/11.79, allocations: 4 kB / 2.712 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08078/11.87, allocations: 23.24 MB / 2.735 GB, free: 122.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003735/11.87, allocations: 208.5 kB / 2.735 GB, free: 122 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.493/16.36, allocations: 0 / 2.735 GB, free: 122 MB / 0.6823 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)