Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001483/0.001483, 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.842/0.842, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.548/1.548, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.001136/0.001136, allocations: 99.95 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.566e-05, allocations: 8 kB / 0.5535 GB, free: 8.988 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5319/0.5319, allocations: 82.3 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.561, allocations: 418.4 MB / 1.043 GB, free: 272 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/1.561, allocations: 68.14 kB / 1.043 GB, free: 236 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5783/2.139, allocations: 36.17 MB / 1.078 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.933e-06/2.139, allocations: 0 / 1.078 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.945e-06/2.139, allocations: 0 / 1.078 GB, free: 227.6 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.0007545/2.14, allocations: 367.9 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/2.14, allocations: 11.62 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/2.14, allocations: 24.45 kB / 1.078 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/2.141, allocations: 163.1 kB / 1.078 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/2.141, allocations: 3.094 kB / 1.078 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/2.141, allocations: 3.906 kB / 1.078 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.352e-05/2.141, allocations: 19.08 kB / 1.078 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/2.141, allocations: 49.95 kB / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/2.141, allocations: 3.422 kB / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/2.141, allocations: 0 / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/2.141, allocations: 3.938 kB / 1.079 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/2.141, allocations: 143.3 kB / 1.079 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.348e-05/2.141, allocations: 46.8 kB / 1.079 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/2.141, allocations: 15.73 kB / 1.079 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009984/2.151, allocations: 3.147 MB / 1.082 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/2.151, allocations: 36.56 kB / 1.082 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.327e-06/2.151, allocations: 0 / 1.082 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02958/2.181, allocations: 13.38 MB / 1.095 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/2.181, allocations: 56.72 kB / 1.095 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/2.181, allocations: 91.31 kB / 1.095 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/2.181, allocations: 33.08 kB / 1.095 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.048e-05/2.181, allocations: 80.14 kB / 1.095 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/2.181, allocations: 39.84 kB / 1.095 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/2.181, allocations: 0 / 1.095 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.064e-05/2.181, allocations: 318.3 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/2.181, allocations: 16.62 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/2.181, allocations: 17.41 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.334e-05/2.181, allocations: 27.34 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/2.181, allocations: 4 kB / 1.096 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001798/2.182, allocations: 95.98 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/2.182, allocations: 7.125 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/2.182, allocations: 2.375 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/2.182, allocations: 0 / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/2.182, allocations: 27.2 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/2.182, allocations: 2.625 kB / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/2.182, allocations: 0 / 1.096 GB, free: 224 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/2.182, allocations: 5.719 kB / 1.096 GB, free: 224 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.766e-05/2.182, allocations: 110.9 kB / 1.096 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001606/2.182, allocations: 83.31 kB / 1.096 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/2.182, allocations: 7.094 kB / 1.096 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/2.182, allocations: 120.3 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/2.182, allocations: 4 kB / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/2.182, allocations: 0 / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/2.182, allocations: 0 / 1.096 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/2.183, allocations: 153.5 kB / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/2.183, allocations: 0 / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/2.183, allocations: 24.05 kB / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/2.183, allocations: 0 / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/2.183, allocations: 7.562 kB / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/2.183, allocations: 0 / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.183, allocations: 2.125 kB / 1.096 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/2.183, allocations: 144.3 kB / 1.096 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/2.183, allocations: 99.88 kB / 1.096 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/2.183, allocations: 0 / 1.096 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/2.183, allocations: 15.36 kB / 1.096 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/2.183, allocations: 5.969 kB / 1.096 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/2.183, allocations: 6.031 kB / 1.096 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.928e-05/2.183, allocations: 79.28 kB / 1.097 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.174e-06/2.183, allocations: 3.562 kB / 1.097 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002612/2.186, allocations: 0.5958 MB / 1.097 GB, free: 223.4 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.003774/2.19, allocations: 1.413 MB / 1.098 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001456/2.19, allocations: 56.98 kB / 1.099 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.19, allocations: 0 / 1.099 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/2.19, allocations: 32.09 kB / 1.099 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/2.19, allocations: 2.938 kB / 1.099 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/2.191, allocations: 400.9 kB / 1.099 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/2.192, allocations: 0.6874 MB / 1.1 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.798e-05/2.192, allocations: 26.44 kB / 1.1 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/2.192, allocations: 19.59 kB / 1.1 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/2.192, allocations: 6.906 kB / 1.1 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/2.255, allocations: 25.39 MB / 1.124 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/2.255, allocations: 120.9 kB / 1.125 GB, free: 210.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.822/5.077, allocations: 0 / 1.125 GB, free: 210.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)