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.01427/0.01427, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8854/0.8854, allocations: 135.2 MB / 151.1 MB, free: 13.78 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.755/1.755, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.00106/0.00106, allocations: 98.12 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.000508, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4511, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.609, allocations: 419.2 MB / 1.059 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.609, allocations: 81.88 kB / 1.059 GB, free: 236.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08216/1.692, allocations: 36.81 MB / 1.095 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/1.692, allocations: 0 / 1.095 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.692, allocations: 0 / 1.095 GB, free: 223.5 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.0005201/1.692, allocations: 374.8 kB / 1.095 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.692, allocations: 8.031 kB / 1.095 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/1.692, allocations: 46.48 kB / 1.095 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/1.693, allocations: 19.66 kB / 1.095 GB, free: 223 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.788e-05/1.693, allocations: 159.1 kB / 1.095 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/1.693, allocations: 0 / 1.095 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/1.693, allocations: 8 kB / 1.095 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/1.693, allocations: 49.11 kB / 1.096 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/1.693, allocations: 7.938 kB / 1.096 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.693, allocations: 7.938 kB / 1.096 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.693, allocations: 0 / 1.096 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/1.693, allocations: 23.5 kB / 1.096 GB, free: 222.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/1.693, allocations: 165.4 kB / 1.096 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/1.693, allocations: 54.08 kB / 1.096 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009363/1.702, allocations: 3.122 MB / 1.099 GB, free: 220 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.703, allocations: 38.56 kB / 1.099 GB, free: 220 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/1.703, allocations: 3.938 kB / 1.099 GB, free: 220 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02682/1.729, allocations: 13.45 MB / 1.112 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/1.729, allocations: 55.41 kB / 1.112 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.295e-05/1.729, allocations: 85 kB / 1.112 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.73, allocations: 33.7 kB / 1.112 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.475e-05/1.73, allocations: 80.14 kB / 1.112 GB, free: 208.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/1.73, allocations: 39.03 kB / 1.112 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-06/1.73, allocations: 4 kB / 1.112 GB, free: 208.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/1.73, allocations: 318.4 kB / 1.113 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/1.73, allocations: 27.64 kB / 1.113 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/1.73, allocations: 19.84 kB / 1.113 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.448e-05/1.73, allocations: 24 kB / 1.113 GB, free: 208 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.73, allocations: 4 kB / 1.113 GB, free: 208 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001933/1.73, allocations: 101.2 kB / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.73, allocations: 4 kB / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/1.73, allocations: 0 / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.73, allocations: 0 / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.73, allocations: 23.61 kB / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/1.73, allocations: 3.953 kB / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/1.73, allocations: 4 kB / 1.113 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/1.73, allocations: 8 kB / 1.113 GB, free: 207.9 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 6.163e-05/1.73, allocations: 125.2 kB / 1.113 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/1.73, allocations: 7.906 kB / 1.113 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/1.731, allocations: 124.6 kB / 1.113 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.731, allocations: 0 / 1.113 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.731, allocations: 0 / 1.113 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.731, allocations: 3.953 kB / 1.113 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.301e-05/1.731, allocations: 177.3 kB / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.731, allocations: 0 / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.731, allocations: 31.53 kB / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.731, allocations: 0 / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/1.731, allocations: 4 kB / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/1.731, allocations: 3.938 kB / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.731, allocations: 4 kB / 1.113 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/1.731, allocations: 163.8 kB / 1.113 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/1.731, allocations: 92.52 kB / 1.113 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/1.731, allocations: 3.797 kB / 1.113 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.731, allocations: 12 kB / 1.113 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/1.731, allocations: 15.7 kB / 1.114 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/1.731, allocations: 7.656 kB / 1.114 GB, free: 207.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 1.839e-05/1.731, allocations: 75.28 kB / 1.114 GB, free: 207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.731, allocations: 0 / 1.114 GB, free: 207 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002209/1.734, allocations: 0.6006 MB / 1.114 GB, free: 206.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 () * 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.004262/1.738, allocations: 1.348 MB / 1.115 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001661/1.738, allocations: 67.58 kB / 1.116 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.738, allocations: 4 kB / 1.116 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/1.738, allocations: 27.89 kB / 1.116 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/1.738, allocations: 11.94 kB / 1.116 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.74, allocations: 0.7883 MB / 1.116 GB, free: 204.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/1.74, allocations: 0.6883 MB / 1.117 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.408e-05/1.74, allocations: 28.16 kB / 1.117 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/1.74, allocations: 15.5 kB / 1.117 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/1.74, allocations: 0 / 1.117 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04594/1.786, allocations: 29.94 MB / 1.146 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.786, allocations: 162.3 kB / 1.146 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/4.487, allocations: 0 / 1.146 GB, free: 176.7 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)