Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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.01101/0.01101, allocations: 171.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7663/0.7663, allocations: 135.2 MB / 151 MB, free: 13.8 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.489/1.489, allocations: 223.2 MB / 406.8 MB, free: 3.145 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.0009386/0.0009389, allocations: 92.22 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004793, allocations: 8 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5267, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.133/5.659, allocations: 1.829 GB / 2.479 GB, free: 149 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/5.66, allocations: 87.95 kB / 2.479 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9522/6.612, allocations: 210.6 MB / 2.684 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/6.612, allocations: 0 / 2.684 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.891e-05/6.612, allocations: 14.77 kB / 2.684 GB, free: 202.4 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001062/6.613, allocations: 0.5937 MB / 2.685 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/6.613, allocations: 8.438 kB / 2.685 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.131e-05/6.613, allocations: 53.11 kB / 2.685 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/6.613, allocations: 28.97 kB / 2.685 GB, free: 201.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/6.614, allocations: 288.8 kB / 2.685 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/6.614, allocations: 17.05 kB / 2.685 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/6.614, allocations: 16.97 kB / 2.685 GB, free: 201.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/6.614, allocations: 259.2 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/6.614, allocations: 6.469 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/6.614, allocations: 4 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/6.614, allocations: 11.09 kB / 2.686 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/6.615, allocations: 153.3 kB / 2.686 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/6.616, allocations: 1.359 MB / 2.687 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/6.616, allocations: 182.3 kB / 2.687 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/6.616, allocations: 110 kB / 2.687 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/6.616, allocations: 48.77 kB / 2.687 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/6.616, allocations: 0 / 2.687 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005643/6.617, allocations: 205.5 kB / 2.688 GB, free: 199.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/6.617, allocations: 188 kB / 2.688 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/6.617, allocations: 256.5 kB / 2.688 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/6.617, allocations: 29.95 kB / 2.688 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/6.617, allocations: 158.2 kB / 2.688 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/6.617, allocations: 34.14 kB / 2.688 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/6.617, allocations: 4 kB / 2.688 GB, free: 199.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/6.617, allocations: 330.2 kB / 2.689 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/6.618, allocations: 50.2 kB / 2.689 GB, free: 198.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/6.618, allocations: 123 kB / 2.689 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/6.618, allocations: 66.06 kB / 2.689 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/6.618, allocations: 0 / 2.689 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003353/6.618, allocations: 195.3 kB / 2.689 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/6.618, allocations: 7.156 kB / 2.689 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/6.618, allocations: 0 / 2.689 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/6.618, allocations: 11.77 kB / 2.689 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/6.618, allocations: 37.64 kB / 2.689 GB, free: 198.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/6.618, allocations: 10.97 kB / 2.689 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/6.619, allocations: 32.8 kB / 2.689 GB, free: 198.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/6.619, allocations: 11.84 kB / 2.689 GB, free: 198.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001198/6.619, allocations: 147.3 kB / 2.689 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/6.619, allocations: 27.73 kB / 2.689 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/6.619, allocations: 141.3 kB / 2.689 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/6.619, allocations: 0 / 2.689 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/6.619, allocations: 3.906 kB / 2.689 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/6.619, allocations: 0 / 2.689 GB, free: 198.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/6.62, allocations: 0.7678 MB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/6.62, allocations: 3.844 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/6.62, allocations: 24.89 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/6.62, allocations: 2.938 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/6.62, allocations: 7.703 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/6.62, allocations: 4.156 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/6.62, allocations: 3.531 kB / 2.69 GB, free: 197.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/6.621, allocations: 405.2 kB / 2.691 GB, free: 197.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/6.621, allocations: 110.2 kB / 2.691 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/6.621, allocations: 3.594 kB / 2.691 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/6.621, allocations: 15.58 kB / 2.691 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/6.621, allocations: 11.52 kB / 2.691 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/6.621, allocations: 7.656 kB / 2.691 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001593/6.621, allocations: 209.6 kB / 2.691 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/6.621, allocations: 0 / 2.691 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006877/6.622, allocations: 147.2 kB / 2.691 GB, free: 196.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.h_out) * 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.002114/6.624, allocations: 2.165 MB / 2.693 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003318/6.624, allocations: 116.9 kB / 2.693 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/6.624, allocations: 448 / 2.693 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/6.624, allocations: 72.45 kB / 2.693 GB, free: 195.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/6.625, allocations: 129.5 kB / 2.693 GB, free: 195 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/6.627, allocations: 2.524 MB / 2.696 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/6.628, allocations: 0.7599 MB / 2.697 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001631/6.628, allocations: 50.2 kB / 2.697 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/6.628, allocations: 67.41 kB / 2.697 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/6.628, allocations: 0 / 2.697 GB, free: 191.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/6.667, allocations: 22 MB / 2.718 GB, free: 170 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/6.667, allocations: 213.5 kB / 2.718 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/9.38, allocations: 0 / 2.718 GB, free: 169.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)