Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_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.0008838/0.000884, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009915/0.0009914, allocations: 168.7 kB / 15.95 MB, free: 200 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7659/0.7659, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 8.562 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4644, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1438/0.6082, allocations: 122.7 MB / 0.703 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008877/0.6172, allocations: 7.474 MB / 0.7103 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.6173, allocations: 0 / 0.7103 GB, free: 14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.6175, allocations: 19.89 kB / 0.7103 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.543e-05/0.6176, allocations: 15.91 kB / 0.7103 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.6215, allocations: 1.111 MB / 0.7114 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.6217, allocations: 79.64 kB / 0.7115 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.6217, allocations: 3.984 kB / 0.7115 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.6219, allocations: 39.86 kB / 0.7115 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.381e-05/0.622, allocations: 35.83 kB / 0.7116 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.622, allocations: 4 kB / 0.7116 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.6262, allocations: 2.517 MB / 0.714 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.6263, allocations: 15.92 kB / 0.7141 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.6263, allocations: 33.7 kB / 0.7141 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.6276, allocations: 0.9105 MB / 0.715 GB, free: 9.207 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6276, allocations: 0 / 0.715 GB, free: 9.207 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.876e-06/0.6276, allocations: 3.984 kB / 0.715 GB, free: 9.203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.6276, allocations: 4 kB / 0.715 GB, free: 9.199 MB / 0.545 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.001071/0.6287, allocations: 483 kB / 0.7154 GB, free: 8.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6287, allocations: 8.031 kB / 0.7155 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.6288, allocations: 46.48 kB / 0.7155 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.6291, allocations: 15.98 kB / 0.7155 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.6293, allocations: 174.9 kB / 0.7157 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.6293, allocations: 33.7 kB / 0.7157 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.6294, allocations: 8 kB / 0.7157 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.6297, allocations: 125.5 kB / 0.7158 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.6298, allocations: 0 / 0.7158 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6298, allocations: 0 / 0.7158 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6298, allocations: 3.938 kB / 0.7158 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.6301, allocations: 123.8 kB / 0.716 GB, free: 8.09 MB / 0.545 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.0004941/0.6306, allocations: 376.1 kB / 0.7163 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.6308, allocations: 134.5 kB / 0.7164 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.6309, allocations: 48.84 kB / 0.7165 GB, free: 7.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.641, allocations: 4.25 MB / 0.7206 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.641, allocations: 42.5 kB / 0.7207 GB, free: 2.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 3.356e-06/0.641, allocations: 0 / 0.7207 GB, free: 2.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004822/0.6415, allocations: 160.6 kB / 0.7208 GB, free: 2.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.6416, allocations: 59.39 kB / 0.7209 GB, free: 2.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.6417, allocations: 101.9 kB / 0.721 GB, free: 2.512 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.6417, allocations: 29.7 kB / 0.721 GB, free: 2.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.6417, allocations: 80.14 kB / 0.7211 GB, free: 2.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.6418, allocations: 51.42 kB / 0.7211 GB, free: 2.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6418, allocations: 4 kB / 0.7211 GB, free: 2.34 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.6419, allocations: 314.8 kB / 0.7214 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.6419, allocations: 23.98 kB / 0.7215 GB, free: 2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.642, allocations: 31.92 kB / 0.7215 GB, free: 1.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.924e-05/0.642, allocations: 28 kB / 0.7215 GB, free: 1.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6421, allocations: 4 kB / 0.7215 GB, free: 1.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001759/0.6422, allocations: 117.4 kB / 0.7216 GB, free: 1.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6423, allocations: 4 kB / 0.7216 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.6423, allocations: 0 / 0.7216 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6423, allocations: 0 / 0.7216 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6424, allocations: 19.98 kB / 0.7217 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6424, allocations: 4 kB / 0.7217 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.535e-05/0.6425, allocations: 7.938 kB / 0.7217 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6425, allocations: 4 kB / 0.7217 GB, free: 1.781 MB / 0.545 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 8.537e-05/0.6426, allocations: 117.8 kB / 0.7218 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.6426, allocations: 11.84 kB / 0.7218 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.6431, allocations: 372.2 kB / 0.7222 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6431, allocations: 3.984 kB / 0.7222 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6431, allocations: 4 kB / 0.7222 GB, free: 1.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6431, allocations: 4 kB / 0.7222 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6435, allocations: 281.3 kB / 0.7224 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.6435, allocations: 3.938 kB / 0.7224 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6436, allocations: 23.98 kB / 0.7225 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.6437, allocations: 3.953 kB / 0.7225 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6437, allocations: 7.984 kB / 0.7225 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6437, allocations: 0 / 0.7225 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6437, allocations: 0 / 0.7225 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.644, allocations: 327 kB / 0.7228 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.6441, allocations: 104.9 kB / 0.7229 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.6441, allocations: 4 kB / 0.7229 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.6442, allocations: 11.88 kB / 0.7229 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.6443, allocations: 11.98 kB / 0.7229 GB, free: 428 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.6443, allocations: 4 kB / 0.7229 GB, free: 424 kB / 0.545 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.6443, allocations: 83.27 kB / 0.723 GB, free: 340 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6443, allocations: 0 / 0.723 GB, free: 340 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008229/0.6452, allocations: 299.9 kB / 0.7233 GB, free: 40 kB / 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.001763/0.6469, allocations: 1.165 MB / 0.7244 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.6471, allocations: 116 kB / 0.7245 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6472, allocations: 0 / 0.7245 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.6473, allocations: 111.9 kB / 0.7246 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.6476, allocations: 19.98 kB / 0.7247 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.6485, allocations: 0.4954 MB / 0.7251 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.6488, allocations: 0.713 MB / 0.7258 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.6489, allocations: 36.28 kB / 0.7259 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.307e-05/0.649, allocations: 39.42 kB / 0.7259 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.649, allocations: 0 / 0.7259 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03509/0.6841, allocations: 11.61 MB / 0.7373 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.6844, allocations: 176.3 kB / 0.7374 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/2.706, allocations: 64 / 0.7374 GB, free: 1.555 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: