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.001172/0.001172, allocations: 108.1 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.001154/0.001154, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.315/1.315, 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.7932/0.7932, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 61.38 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1402, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5203/0.6606, allocations: 135.6 MB / 0.7927 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007708/0.6684, allocations: 7.918 MB / 0.8004 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.6685, allocations: 1.094 kB / 0.8004 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.6687, allocations: 29.06 kB / 0.8005 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.6687, allocations: 21.53 kB / 0.8005 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/0.6727, allocations: 1.466 MB / 0.8019 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.6728, allocations: 72.89 kB / 0.802 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.6729, allocations: 9.219 kB / 0.802 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.673, allocations: 51.88 kB / 0.8021 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.174e-05/0.6731, allocations: 28.36 kB / 0.8021 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.6731, allocations: 2.75 kB / 0.8021 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.6775, allocations: 2.705 MB / 0.8047 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.6776, allocations: 19.95 kB / 0.8047 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.6776, allocations: 32.97 kB / 0.8048 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.6796, allocations: 1.379 MB / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6796, allocations: 0 / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6797, allocations: 0 / 0.8061 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.6797, 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.0009423/0.6806, allocations: 0.489 MB / 0.8066 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6807, allocations: 9.375 kB / 0.8066 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/0.681, allocations: 29.75 kB / 0.8066 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.6811, allocations: 170.8 kB / 0.8068 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.855e-05/0.6812, allocations: 34.45 kB / 0.8068 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.6812, allocations: 7.281 kB / 0.8068 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.6816, allocations: 123.8 kB / 0.807 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6816, allocations: 0 / 0.807 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6816, allocations: 1.781 kB / 0.807 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.6816, allocations: 1.812 kB / 0.807 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.6819, allocations: 115.3 kB / 0.8071 GB, free: 10.74 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.0004533/0.6824, allocations: 386.6 kB / 0.8074 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.6826, allocations: 133.1 kB / 0.8076 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.6827, allocations: 47.41 kB / 0.8076 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.6939, allocations: 4.225 MB / 0.8117 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.694, allocations: 34.12 kB / 0.8118 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.694, allocations: 0 / 0.8118 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005218/0.6945, allocations: 170.5 kB / 0.8119 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.6946, allocations: 58.16 kB / 0.812 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.6947, allocations: 101.5 kB / 0.8121 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.6947, allocations: 29.27 kB / 0.8121 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.6947, allocations: 83.17 kB / 0.8122 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.6948, allocations: 50.25 kB / 0.8122 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.6948, allocations: 31.83 kB / 0.8123 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6949, allocations: 321.8 kB / 0.8126 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/0.695, allocations: 26.78 kB / 0.8126 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.6951, allocations: 25.73 kB / 0.8126 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.6952, allocations: 65.66 kB / 0.8127 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6952, allocations: 0 / 0.8127 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001696/0.6954, allocations: 110.4 kB / 0.8128 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6954, allocations: 4.875 kB / 0.8128 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6954, allocations: 0 / 0.8128 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.6954, allocations: 0 / 0.8128 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.6955, allocations: 29.2 kB / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6955, allocations: 2.969 kB / 0.8128 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.6956, allocations: 4 kB / 0.8128 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6956, allocations: 10.23 kB / 0.8128 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 7.68e-05/0.6957, allocations: 115 kB / 0.813 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.6958, allocations: 8.969 kB / 0.813 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.6962, allocations: 373.2 kB / 0.8133 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6962, allocations: 6.156 kB / 0.8133 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6962, allocations: 0 / 0.8133 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6962, allocations: 3.984 kB / 0.8133 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.6965, allocations: 284.3 kB / 0.8136 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6965, allocations: 5.812 kB / 0.8136 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.6966, allocations: 22.08 kB / 0.8136 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6966, allocations: 0 / 0.8136 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.6966, allocations: 9.156 kB / 0.8136 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6966, allocations: 0 / 0.8136 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6966, allocations: 6.703 kB / 0.8136 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.6969, allocations: 326.6 kB / 0.814 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.697, allocations: 105.5 kB / 0.8141 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.697, allocations: 9.875 kB / 0.8141 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.6972, allocations: 2.469 kB / 0.8141 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.6972, allocations: 12.52 kB / 0.8141 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.6972, allocations: 6.547 kB / 0.8141 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.6973, allocations: 83.53 kB / 0.8142 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6973, allocations: 0 / 0.8142 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008683/0.6981, allocations: 297.9 kB / 0.8144 GB, free: 5.949 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.00117/0.6993, allocations: 392.6 kB / 0.8148 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.6995, allocations: 129.9 kB / 0.8149 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.6995, allocations: 7.938 kB / 0.815 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.6997, allocations: 111.6 kB / 0.8151 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.7, allocations: 17.94 kB / 0.8151 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.7004, allocations: 334.1 kB / 0.8154 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.7007, allocations: 0.7229 MB / 0.8161 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.7008, allocations: 17.5 kB / 0.8161 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.7008, allocations: 0 / 0.8161 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of Templates: time 0.009452/0.7102, allocations: 6.748 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)