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: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001832/0.001832, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7972/0.7972, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 61.5 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1619, allocations: 80.22 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5044/0.6664, allocations: 135.6 MB / 0.7927 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008046/0.6745, allocations: 7.92 MB / 0.8004 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.6746, allocations: 0 / 0.8004 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.6748, allocations: 29.45 kB / 0.8005 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.6749, allocations: 19.02 kB / 0.8005 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004546/0.6795, allocations: 1.469 MB / 0.8019 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.6797, allocations: 73.39 kB / 0.802 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.902e-05/0.6797, allocations: 9.125 kB / 0.802 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.6799, allocations: 40.34 kB / 0.802 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.68, allocations: 36.58 kB / 0.8021 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.68, allocations: 2.75 kB / 0.8021 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.6854, allocations: 2.717 MB / 0.8047 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.6854, allocations: 16.27 kB / 0.8048 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.633e-05/0.6855, allocations: 30.19 kB / 0.8048 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.6876, allocations: 1.375 MB / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6876, allocations: 0 / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6876, allocations: 0 / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.6876, allocations: 0 / 0.8061 GB, free: 11.51 MB / 0.5919 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.0009061/0.6885, allocations: 0.4931 MB / 0.8066 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6886, allocations: 9.75 kB / 0.8066 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003699/0.6889, allocations: 23.86 kB / 0.8066 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.6891, allocations: 179.1 kB / 0.8068 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.6892, allocations: 35.8 kB / 0.8068 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.6892, allocations: 9.719 kB / 0.8069 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.6896, allocations: 120 kB / 0.807 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6896, allocations: 0 / 0.807 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6896, allocations: 0 / 0.807 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6896, allocations: 1.531 kB / 0.807 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.6899, allocations: 120.7 kB / 0.8071 GB, free: 10.73 MB / 0.5919 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.0004711/0.6904, allocations: 386.8 kB / 0.8075 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.6907, allocations: 120.3 kB / 0.8076 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.6907, allocations: 58.19 kB / 0.8076 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.7019, allocations: 4.223 MB / 0.8117 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.702, allocations: 34.5 kB / 0.8118 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.702, allocations: 0 / 0.8118 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004805/0.7025, allocations: 163.1 kB / 0.8119 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.7025, allocations: 57.62 kB / 0.812 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.986e-05/0.7026, allocations: 102.9 kB / 0.8121 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.7026, allocations: 29.08 kB / 0.8121 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.455e-05/0.7027, allocations: 81.95 kB / 0.8122 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.7027, allocations: 50.66 kB / 0.8122 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.7028, allocations: 31.2 kB / 0.8123 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.7029, allocations: 320.9 kB / 0.8126 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.703, allocations: 23.73 kB / 0.8126 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.703, allocations: 25.95 kB / 0.8126 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.7031, allocations: 77.09 kB / 0.8127 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7031, allocations: 3.75 kB / 0.8127 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.7033, allocations: 109.7 kB / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.7033, allocations: 5.438 kB / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.7034, allocations: 0 / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7034, allocations: 0 / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.7035, allocations: 24.77 kB / 0.8128 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7035, allocations: 6.5 kB / 0.8128 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/0.7036, allocations: 0 / 0.8128 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.7036, allocations: 9.938 kB / 0.8129 GB, free: 6.82 MB / 0.5919 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 9.262e-05/0.7037, allocations: 115.8 kB / 0.813 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.7037, allocations: 12.89 kB / 0.813 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.7042, allocations: 363.2 kB / 0.8133 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.7042, allocations: 9.703 kB / 0.8133 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.7042, allocations: 3.938 kB / 0.8133 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.7042, allocations: 3.938 kB / 0.8133 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.7045, allocations: 285 kB / 0.8136 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.7045, allocations: 0 / 0.8136 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.7046, allocations: 21.8 kB / 0.8136 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7046, allocations: 4.188 kB / 0.8136 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7046, allocations: 9.734 kB / 0.8136 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7046, allocations: 0 / 0.8136 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7046, allocations: 0 / 0.8136 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.705, allocations: 332.7 kB / 0.814 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.7051, allocations: 109.8 kB / 0.8141 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.7051, allocations: 6.062 kB / 0.8141 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.7052, allocations: 2.125 kB / 0.8141 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.7053, allocations: 16.8 kB / 0.8141 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.7053, allocations: 2.719 kB / 0.8141 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.7053, allocations: 91.48 kB / 0.8142 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7053, allocations: 0 / 0.8142 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008867/0.7062, allocations: 292.7 kB / 0.8145 GB, free: 5.941 MB / 0.5919 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.001193/0.7074, allocations: 402.5 kB / 0.8148 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.7076, allocations: 123.8 kB / 0.815 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7076, allocations: 0 / 0.815 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.7078, allocations: 114.3 kB / 0.8151 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.7081, allocations: 23.64 kB / 0.8151 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.7086, allocations: 328.2 kB / 0.8154 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.7089, allocations: 0.7248 MB / 0.8161 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.7089, allocations: 17.72 kB / 0.8161 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7089, allocations: 0 / 0.8161 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.01079/0.7197, allocations: 6.743 MB / 0.8227 GB, free: 1.352 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)