Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.01337/0.01337, allocations: 170 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.864/0.864, allocations: 135.2 MB / 151 MB, free: 13.82 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.845/1.845, allocations: 223.2 MB / 406.8 MB, free: 3.242 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.0009437/0.0009437, allocations: 103.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000597/0.000597, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4342, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.395/1.829, allocations: 419.2 MB / 1.059 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/1.83, allocations: 76.52 kB / 1.059 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1435/1.973, allocations: 36.81 MB / 1.095 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.124e-06/1.973, allocations: 0 / 1.095 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.973, allocations: 4 kB / 1.095 GB, free: 158.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006281/1.974, allocations: 373.4 kB / 1.095 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.974, allocations: 7.812 kB / 1.095 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/1.974, allocations: 34.19 kB / 1.095 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/1.974, allocations: 19.28 kB / 1.095 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.34e-05/1.974, allocations: 166.9 kB / 1.095 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/1.974, allocations: 0 / 1.095 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/1.974, allocations: 7.719 kB / 1.095 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/1.974, allocations: 60.16 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.974, allocations: 7.922 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.974, allocations: 3.375 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.974, allocations: 7.875 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.065e-05/1.975, allocations: 15.56 kB / 1.096 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/1.975, allocations: 163.2 kB / 1.096 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/1.975, allocations: 56.86 kB / 1.096 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01015/1.985, allocations: 3.126 MB / 1.099 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/1.985, allocations: 38.12 kB / 1.099 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.985, allocations: 0 / 1.099 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02596/2.011, allocations: 13.44 MB / 1.112 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/2.011, allocations: 54.97 kB / 1.112 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/2.011, allocations: 88.75 kB / 1.112 GB, free: 155 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/2.011, allocations: 29.61 kB / 1.112 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.022e-05/2.011, allocations: 84.08 kB / 1.112 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/2.011, allocations: 46.58 kB / 1.112 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/2.011, allocations: 0 / 1.112 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.742e-05/2.011, allocations: 318.7 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.755e-05/2.011, allocations: 25.88 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/2.011, allocations: 19.17 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.874e-05/2.012, allocations: 30.98 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/2.012, allocations: 0 / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001879/2.012, allocations: 101.6 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.012, allocations: 5.375 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/2.012, allocations: 0 / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/2.012, allocations: 3.938 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/2.012, allocations: 26.98 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/2.012, allocations: 7.953 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/2.012, allocations: 0 / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/2.012, allocations: 7.516 kB / 1.113 GB, free: 154.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 7.009e-05/2.012, allocations: 120.2 kB / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/2.012, allocations: 3.906 kB / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/2.012, allocations: 133.4 kB / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/2.012, allocations: 0 / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.012, allocations: 0 / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/2.012, allocations: 3.953 kB / 1.113 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/2.013, allocations: 171.9 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/2.013, allocations: 4 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/2.013, allocations: 26.92 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/2.013, allocations: 0 / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/2.013, allocations: 7.906 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/2.013, allocations: 80 / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.013, allocations: 3.984 kB / 1.113 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/2.013, allocations: 167.5 kB / 1.113 GB, free: 154 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/2.013, allocations: 92.53 kB / 1.113 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/2.013, allocations: 7.594 kB / 1.113 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/2.013, allocations: 15.81 kB / 1.114 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/2.013, allocations: 7.688 kB / 1.114 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/2.013, allocations: 7.531 kB / 1.114 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.131e-05/2.013, allocations: 75.28 kB / 1.114 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/2.013, allocations: 0 / 1.114 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002123/2.015, allocations: 0.6001 MB / 1.114 GB, free: 153.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.00383/2.019, allocations: 1.35 MB / 1.116 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000202/2.019, allocations: 64.03 kB / 1.116 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/2.019, allocations: 0 / 1.116 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/2.02, allocations: 34.14 kB / 1.116 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/2.02, allocations: 3.906 kB / 1.116 GB, free: 153 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/2.021, allocations: 0.7824 MB / 1.116 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/2.021, allocations: 0.6918 MB / 1.117 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.864e-05/2.021, allocations: 24.34 kB / 1.117 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/2.021, allocations: 22.59 kB / 1.117 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/2.021, allocations: 0 / 1.117 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/2.075, allocations: 29.92 MB / 1.146 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/2.075, allocations: 165.4 kB / 1.146 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.969, allocations: 4 kB / 1.146 GB, free: 149.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)