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.001559/0.001559, allocations: 174.6 kB / 7.647 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.8895/0.8895, allocations: 133.5 MB / 141.6 MB, free: 2.883 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.614/1.614, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009653/0.0009655, allocations: 99.88 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.026e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5433, allocations: 82.3 MB / 0.6339 GB, free: 40.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9944/1.538, allocations: 418.4 MB / 1.043 GB, free: 172 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.538, allocations: 71.97 kB / 1.043 GB, free: 136 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4911/2.029, allocations: 36.16 MB / 1.078 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.136e-06/2.029, allocations: 0 / 1.078 GB, free: 227.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.592e-06/2.029, allocations: 7.812 kB / 1.078 GB, free: 227.7 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.0005481/2.03, allocations: 371.4 kB / 1.078 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/2.03, allocations: 7.781 kB / 1.078 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/2.03, allocations: 18.09 kB / 1.078 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/2.03, allocations: 163.9 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/2.03, allocations: 6.969 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/2.03, allocations: 6.672 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.517e-05/2.03, allocations: 19.48 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.634e-05/2.03, allocations: 46.09 kB / 1.079 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/2.03, allocations: 0 / 1.079 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/2.03, allocations: 0 / 1.079 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/2.03, allocations: 3.875 kB / 1.079 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/2.031, allocations: 143.4 kB / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/2.031, allocations: 46.34 kB / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.627e-05/2.031, allocations: 19.55 kB / 1.079 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/2.04, allocations: 3.144 MB / 1.082 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/2.041, allocations: 30.56 kB / 1.082 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/2.041, allocations: 4 kB / 1.082 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02929/2.07, allocations: 13.39 MB / 1.095 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/2.07, allocations: 56.81 kB / 1.095 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/2.07, allocations: 87.31 kB / 1.095 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/2.07, allocations: 32.89 kB / 1.095 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/2.07, allocations: 84.27 kB / 1.095 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/2.07, allocations: 36.27 kB / 1.095 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/2.07, allocations: 0 / 1.095 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/2.07, allocations: 325.6 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.945e-05/2.07, allocations: 13.12 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/2.07, allocations: 19.28 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/2.07, allocations: 24.94 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/2.07, allocations: 0 / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001768/2.07, allocations: 91.56 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/2.07, allocations: 7.062 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/2.07, allocations: 7.422 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/2.071, allocations: 0 / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/2.071, allocations: 27.61 kB / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/2.071, allocations: 0 / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.552e-05/2.071, allocations: 96 / 1.096 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/2.071, allocations: 7.219 kB / 1.096 GB, free: 224.2 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 () * 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 6.072e-05/2.071, allocations: 111 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001603/2.071, allocations: 85.89 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.148e-05/2.071, allocations: 6.188 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/2.071, allocations: 120.7 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/2.071, allocations: 2.406 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/2.071, allocations: 0 / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/2.071, allocations: 0 / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.801e-05/2.071, allocations: 153 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/2.071, allocations: 0 / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/2.071, allocations: 27.91 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/2.071, allocations: 0 / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/2.072, allocations: 7.062 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/2.072, allocations: 3.938 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.072, allocations: 0 / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/2.072, allocations: 144.8 kB / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/2.072, allocations: 104.3 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/2.072, allocations: 2.312 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/2.072, allocations: 9.219 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/2.072, allocations: 9.984 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/2.072, allocations: 7.016 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.192e-05/2.072, allocations: 82.19 kB / 1.097 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/2.072, allocations: 0 / 1.097 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002358/2.074, allocations: 0.5927 MB / 1.097 GB, free: 223.5 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 () * 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.003977/2.078, allocations: 1.401 MB / 1.098 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001643/2.079, allocations: 53.55 kB / 1.099 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/2.079, allocations: 6.656 kB / 1.099 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.708e-05/2.079, allocations: 35.91 kB / 1.099 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/2.079, allocations: 3.984 kB / 1.099 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/2.08, allocations: 402.8 kB / 1.099 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/2.08, allocations: 0.6866 MB / 1.1 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001076/2.081, allocations: 27.83 kB / 1.1 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/2.081, allocations: 17.25 kB / 1.1 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/2.081, allocations: 0 / 1.1 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/2.138, allocations: 25.39 MB / 1.124 GB, free: 210.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/2.138, allocations: 122.3 kB / 1.125 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/4.7, allocations: 0 / 1.125 GB, free: 210.6 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)