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.001205/0.001205, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001342/0.001342, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9975/0.9975, allocations: 135.1 MB / 425.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.09 kB / 0.5049 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1637, allocations: 80.92 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4629/0.6266, allocations: 133.7 MB / 0.7145 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.6382, allocations: 7.973 MB / 0.7223 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.6383, allocations: 0 / 0.7223 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.6385, allocations: 19.98 kB / 0.7223 GB, free: 6.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.6387, allocations: 16.97 kB / 0.7223 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00606/0.6447, allocations: 1.293 MB / 0.7236 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.6449, allocations: 77.41 kB / 0.7237 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.231e-05/0.645, allocations: 5.578 kB / 0.7237 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.6451, allocations: 42.75 kB / 0.7237 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.6452, allocations: 31.81 kB / 0.7237 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.6452, allocations: 2.219 kB / 0.7237 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.6515, allocations: 2.659 MB / 0.7263 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.6516, allocations: 15.27 kB / 0.7263 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.6516, allocations: 31.7 kB / 0.7264 GB, free: 5.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.6549, allocations: 1.372 MB / 0.7277 GB, free: 4.867 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.6549, allocations: 8 kB / 0.7277 GB, free: 4.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6549, allocations: 1.125 kB / 0.7277 GB, free: 4.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6549, allocations: 0 / 0.7277 GB, free: 4.859 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.001875/0.6568, allocations: 0.4904 MB / 0.7282 GB, free: 4.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6569, allocations: 9.75 kB / 0.7282 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.6569, allocations: 40.97 kB / 0.7283 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.6574, allocations: 24.83 kB / 0.7283 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.6575, allocations: 174.4 kB / 0.7284 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-05/0.6576, allocations: 40.02 kB / 0.7285 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6576, allocations: 7.812 kB / 0.7285 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.6581, allocations: 116.9 kB / 0.7286 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6581, allocations: 7.984 kB / 0.7286 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.6581, allocations: 3.938 kB / 0.7286 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6581, allocations: 3.062 kB / 0.7286 GB, free: 4.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.6584, allocations: 118.3 kB / 0.7287 GB, free: 4.047 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.0005089/0.6589, allocations: 383.8 kB / 0.7291 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.6592, allocations: 122.8 kB / 0.7292 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.6593, allocations: 50.03 kB / 0.7293 GB, free: 3.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.6714, allocations: 4.202 MB / 0.7334 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6715, allocations: 39.62 kB / 0.7334 GB, free: 1.098 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.6715, allocations: 0 / 0.7334 GB, free: 1.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005188/0.672, allocations: 160.7 kB / 0.7336 GB, free: 1.012 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.6721, allocations: 52.69 kB / 0.7336 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.6721, allocations: 101.9 kB / 0.7337 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.6722, allocations: 31.17 kB / 0.7337 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.6722, allocations: 85.3 kB / 0.7338 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.6723, allocations: 45.06 kB / 0.7339 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.6724, allocations: 29.95 kB / 0.7339 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.6725, allocations: 320.2 kB / 0.7342 GB, free: 344 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.6725, allocations: 25.73 kB / 0.7342 GB, free: 332 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.6726, allocations: 25.73 kB / 0.7342 GB, free: 320 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.6727, allocations: 69.78 kB / 0.7343 GB, free: 280 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6727, allocations: 3.938 kB / 0.7343 GB, free: 276 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001825/0.6729, allocations: 114.3 kB / 0.7344 GB, free: 204 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6729, allocations: 7.531 kB / 0.7344 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6729, allocations: 4 kB / 0.7344 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6729, allocations: 1.375 kB / 0.7344 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.6731, allocations: 24.42 kB / 0.7345 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6731, allocations: 2.781 kB / 0.7345 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.6732, allocations: 13.22 kB / 0.7345 GB, free: 180 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.6732, allocations: 2.75 kB / 0.7345 GB, free: 180 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.811e-05/0.6733, allocations: 116.6 kB / 0.7346 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.6733, allocations: 4.125 kB / 0.7346 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.6738, allocations: 363 kB / 0.7349 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.6738, allocations: 10.73 kB / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6738, allocations: 3.938 kB / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.6738, allocations: 5.312 kB / 0.7349 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.6741, allocations: 281.5 kB / 0.7352 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6741, allocations: 7.984 kB / 0.7352 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/0.6742, allocations: 16.5 kB / 0.7352 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6743, allocations: 1.375 kB / 0.7352 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6743, allocations: 9.359 kB / 0.7353 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.6743, allocations: 3.719 kB / 0.7353 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6743, allocations: 0 / 0.7353 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.6746, allocations: 336.8 kB / 0.7356 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.6747, allocations: 104.1 kB / 0.7357 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6747, allocations: 9.188 kB / 0.7357 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.6749, allocations: 6.406 kB / 0.7357 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.6749, allocations: 9.797 kB / 0.7357 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6749, allocations: 14.58 kB / 0.7357 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.675, allocations: 83.8 kB / 0.7358 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.675, allocations: 0 / 0.7358 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001229/0.6762, allocations: 294.2 kB / 0.7361 GB, free: 15.04 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.002252/0.6785, allocations: 1.161 MB / 0.7372 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.6787, allocations: 133.7 kB / 0.7373 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6788, allocations: 0 / 0.7373 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.6789, allocations: 111 kB / 0.7374 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.6792, allocations: 23.33 kB / 0.7375 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.6803, allocations: 494.8 kB / 0.7379 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.6806, allocations: 0.7177 MB / 0.7386 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.6807, allocations: 27.84 kB / 0.7387 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.6808, allocations: 38.11 kB / 0.7387 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.6808, allocations: 0 / 0.7387 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/0.9647, allocations: 11.53 MB / 0.75 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.9651, allocations: 205 kB / 0.7502 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/3.696, allocations: 0 / 0.7502 GB, free: 2.461 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)