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.001352/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00129/0.00129, allocations: 195.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8461/0.8461, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 68.06 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1509, allocations: 80.93 MB / 0.5838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3692/0.5201, allocations: 133.5 MB / 0.7142 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.5311, allocations: 8.481 MB / 0.7225 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.5311, allocations: 0 / 0.7225 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.5313, allocations: 27.62 kB / 0.7225 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.5314, allocations: 20.72 kB / 0.7225 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.5353, allocations: 1.158 MB / 0.7236 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.5355, allocations: 81.42 kB / 0.7237 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.5356, allocations: 2.625 kB / 0.7237 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.5357, allocations: 38.45 kB / 0.7237 GB, free: 6.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.5358, allocations: 35.39 kB / 0.7238 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.5359, allocations: 4.25 kB / 0.7238 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/0.5417, allocations: 2.652 MB / 0.7264 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.5418, allocations: 20.11 kB / 0.7264 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.5418, allocations: 31.73 kB / 0.7264 GB, free: 5.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.5445, allocations: 1.377 MB / 0.7278 GB, free: 4.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5445, allocations: 5.281 kB / 0.7278 GB, free: 4.867 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5445, allocations: 0 / 0.7278 GB, free: 4.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.5445, allocations: 0 / 0.7278 GB, free: 4.867 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.00125/0.5458, allocations: 0.4959 MB / 0.7283 GB, free: 4.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.5458, allocations: 8.531 kB / 0.7283 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.5459, allocations: 41.97 kB / 0.7283 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004132/0.5463, allocations: 29.78 kB / 0.7283 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5464, allocations: 171 kB / 0.7285 GB, free: 4.156 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.5465, allocations: 29.27 kB / 0.7285 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5465, allocations: 16.83 kB / 0.7285 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.5468, allocations: 116.5 kB / 0.7287 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.5468, allocations: 3.938 kB / 0.7287 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5469, allocations: 5.562 kB / 0.7287 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5469, allocations: 4.906 kB / 0.7287 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.5472, allocations: 113 kB / 0.7288 GB, free: 3.973 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.0004363/0.5476, allocations: 381.1 kB / 0.7291 GB, free: 3.574 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.5479, allocations: 126 kB / 0.7293 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.548, allocations: 53.23 kB / 0.7293 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.5588, allocations: 4.208 MB / 0.7334 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.5588, allocations: 31.94 kB / 0.7334 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.5588, allocations: 0 / 0.7334 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004518/0.5593, allocations: 164.6 kB / 0.7336 GB, free: 0.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5593, allocations: 52.78 kB / 0.7337 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.5594, allocations: 102 kB / 0.7338 GB, free: 468 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.5594, allocations: 27.08 kB / 0.7338 GB, free: 436 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.5595, allocations: 89.42 kB / 0.7339 GB, free: 344 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.5595, allocations: 48.89 kB / 0.7339 GB, free: 300 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.5596, allocations: 30.02 kB / 0.7339 GB, free: 272 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5597, allocations: 316.7 kB / 0.7342 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.5597, allocations: 28.73 kB / 0.7343 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-05/0.5598, allocations: 26.11 kB / 0.7343 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.5599, allocations: 65.91 kB / 0.7344 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5599, allocations: 0 / 0.7344 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/0.5601, allocations: 118.7 kB / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.5601, allocations: 5.281 kB / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5602, allocations: 0 / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.5602, allocations: 1.625 kB / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.5603, allocations: 28.27 kB / 0.7345 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5603, allocations: 4.781 kB / 0.7345 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.5604, allocations: 10.44 kB / 0.7345 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.5604, allocations: 2.625 kB / 0.7345 GB, free: 15.79 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/0.5605, allocations: 112.6 kB / 0.7346 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.5605, allocations: 11.78 kB / 0.7346 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004305/0.561, allocations: 367.6 kB / 0.735 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.561, allocations: 6.297 kB / 0.735 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.561, allocations: 1.125 kB / 0.735 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.561, allocations: 3.938 kB / 0.735 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.5613, allocations: 290.1 kB / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.5613, allocations: 0 / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5614, allocations: 24.17 kB / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5614, allocations: 1.375 kB / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5614, allocations: 1.438 kB / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5614, allocations: 0 / 0.7353 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5614, allocations: 3.984 kB / 0.7353 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.5618, allocations: 343 kB / 0.7356 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.637e-05/0.5619, allocations: 104.1 kB / 0.7357 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5619, allocations: 1.656 kB / 0.7357 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.562, allocations: 14.89 kB / 0.7357 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.5621, allocations: 12.31 kB / 0.7358 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.5621, allocations: 8.094 kB / 0.7358 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.5621, allocations: 86.02 kB / 0.7358 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5621, allocations: 0 / 0.7358 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009587/0.5631, allocations: 296.1 kB / 0.7361 GB, free: 14.65 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/0.5651, allocations: 1.151 MB / 0.7373 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.5653, allocations: 118.2 kB / 0.7374 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5653, allocations: 0 / 0.7374 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.5655, allocations: 116.7 kB / 0.7375 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5658, allocations: 23.36 kB / 0.7375 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5668, allocations: 494.8 kB / 0.738 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.5671, allocations: 0.7175 MB / 0.7387 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.5672, allocations: 30.61 kB / 0.7387 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.5673, allocations: 43.67 kB / 0.7387 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5673, allocations: 0 / 0.7387 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3122/0.8795, allocations: 11.41 MB / 0.7499 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/0.8798, allocations: 206.4 kB / 0.7501 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.192, allocations: 2.25 kB / 0.7501 GB, free: 2.363 MB / 0.5606 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/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)