Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9507/0.9507, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003395, allocations: 8 kB / 0.5069 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1814, allocations: 82.31 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5373/0.7188, allocations: 114.4 MB / 0.699 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009591/0.7285, allocations: 6.911 MB / 0.7057 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.7286, allocations: 1.5 kB / 0.7057 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.7288, allocations: 25.61 kB / 0.7058 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.7288, allocations: 22.58 kB / 0.7058 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.734, allocations: 1.113 MB / 0.7069 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.7342, allocations: 52.59 kB / 0.7069 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.7343, allocations: 3.969 kB / 0.7069 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.7344, allocations: 45.75 kB / 0.707 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.7345, allocations: 30.67 kB / 0.707 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.7346, allocations: 3.469 kB / 0.707 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006923/0.7415, allocations: 2.553 MB / 0.7095 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.7416, allocations: 10.36 kB / 0.7095 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.7417, allocations: 37.84 kB / 0.7096 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.744, allocations: 0.9123 MB / 0.7104 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.744, allocations: 0 / 0.7104 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.744, allocations: 1.062 kB / 0.7104 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.744, allocations: 0 / 0.7104 GB, free: 4.762 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001541/0.7456, allocations: 491 kB / 0.7109 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7456, allocations: 9.812 kB / 0.7109 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.243e-05/0.7457, allocations: 39.09 kB / 0.711 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.7461, allocations: 21.83 kB / 0.711 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.7463, allocations: 184.2 kB / 0.7112 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.7464, allocations: 33.72 kB / 0.7112 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.793e-05/0.7464, allocations: 4.125 kB / 0.7112 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.7468, allocations: 119.5 kB / 0.7113 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7468, allocations: 0.7031 kB / 0.7113 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.7468, allocations: 5.062 kB / 0.7113 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.7469, allocations: 6.016 kB / 0.7113 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.7472, allocations: 120 kB / 0.7114 GB, free: 3.961 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.7478, allocations: 385.6 kB / 0.7118 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.7481, allocations: 124.5 kB / 0.7119 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.7615, allocations: 4.242 MB / 0.7161 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.7615, allocations: 41.09 kB / 0.7161 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.7616, allocations: 0 / 0.7161 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0005847/0.7621, allocations: 164.9 kB / 0.7163 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.7622, allocations: 57.22 kB / 0.7163 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.7623, allocations: 101.6 kB / 0.7164 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7623, allocations: 29.7 kB / 0.7164 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.7624, allocations: 82.36 kB / 0.7165 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.7624, allocations: 45.17 kB / 0.7166 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-06/0.7624, allocations: 4 kB / 0.7166 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7626, allocations: 318.8 kB / 0.7169 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.7626, allocations: 24.03 kB / 0.7169 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.7627, allocations: 29.48 kB / 0.7169 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.7627, allocations: 27.34 kB / 0.7169 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7627, allocations: 0 / 0.7169 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000197/0.763, allocations: 114.8 kB / 0.7171 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.763, allocations: 5.281 kB / 0.7171 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.763, allocations: 4.656 kB / 0.7171 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.763, allocations: 0.9688 kB / 0.7171 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.7631, allocations: 20.3 kB / 0.7171 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.7632, allocations: 1.656 kB / 0.7171 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.7632, allocations: 2.031 kB / 0.7171 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.7632, allocations: 11.98 kB / 0.7171 GB, free: 0.7656 MB / 0.5294 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 (13): * Single equations (assignments): 13 * 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 9.582e-05/0.7633, allocations: 113 kB / 0.7172 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.7634, allocations: 12.31 kB / 0.7172 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/0.7639, allocations: 371.8 kB / 0.7176 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.7639, allocations: 8.859 kB / 0.7176 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.764, allocations: 1.219 kB / 0.7176 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.764, allocations: 0.7969 kB / 0.7176 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.7644, allocations: 286.2 kB / 0.7179 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7644, allocations: 1.156 kB / 0.7179 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.7645, allocations: 20.33 kB / 0.7179 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.7645, allocations: 2.078 kB / 0.7179 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.7645, allocations: 5.969 kB / 0.7179 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7645, allocations: 3.953 kB / 0.7179 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7645, allocations: 2.953 kB / 0.7179 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.765, allocations: 333.3 kB / 0.7182 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.101e-05/0.7651, allocations: 102.2 kB / 0.7183 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.7651, allocations: 1 kB / 0.7183 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.7653, allocations: 15.16 kB / 0.7183 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.7653, allocations: 8.312 kB / 0.7183 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.7653, allocations: 5.562 kB / 0.7183 GB, free: 15.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.09e-05/0.7654, allocations: 84.16 kB / 0.7184 GB, free: 15.76 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7654, allocations: 0 / 0.7184 GB, free: 15.76 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002/0.7674, allocations: 303.4 kB / 0.7187 GB, free: 15.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002592/0.77, allocations: 1.149 MB / 0.7198 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.7703, allocations: 121.8 kB / 0.7199 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7703, allocations: 0 / 0.7199 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.7705, allocations: 118.5 kB / 0.7201 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.7707, allocations: 21.03 kB / 0.7201 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7718, allocations: 0.4972 MB / 0.7206 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.7721, allocations: 0.7187 MB / 0.7213 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.7722, allocations: 37.38 kB / 0.7213 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.7723, allocations: 37.56 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7723, allocations: 1.312 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/0.8041, allocations: 11.6 MB / 0.7327 GB, free: 6.629 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.8043, allocations: 180 kB / 0.7328 GB, free: 6.387 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.837, allocations: 3.938 kB / 0.7328 GB, free: 6.383 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: