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: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001116/0.001116, 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.001084/0.001084, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.73 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2011, allocations: 80.92 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4754/0.6766, allocations: 133.7 MB / 0.7144 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.6875, allocations: 7.968 MB / 0.7222 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.6876, allocations: 1.125 kB / 0.7222 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.6879, allocations: 24.8 kB / 0.7222 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.688, allocations: 11.94 kB / 0.7222 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.6941, allocations: 1.292 MB / 0.7235 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.6943, allocations: 80.73 kB / 0.7236 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.6943, allocations: 3.594 kB / 0.7236 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.6945, allocations: 51.38 kB / 0.7236 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.6946, allocations: 27.5 kB / 0.7236 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.6946, allocations: 4.125 kB / 0.7236 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005859/0.7005, allocations: 2.651 MB / 0.7262 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.404e-05/0.7006, allocations: 14.86 kB / 0.7262 GB, free: 5.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.7006, allocations: 36.66 kB / 0.7263 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.7036, allocations: 1.375 MB / 0.7276 GB, free: 4.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7036, allocations: 0 / 0.7276 GB, free: 4.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.477e-06/0.7036, allocations: 1.125 kB / 0.7276 GB, free: 4.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.7036, allocations: 4 kB / 0.7276 GB, free: 4.973 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.001214/0.7049, allocations: 0.4964 MB / 0.7281 GB, free: 4.543 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.7049, allocations: 9.188 kB / 0.7281 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.7053, allocations: 21.11 kB / 0.7281 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.7054, allocations: 170.4 kB / 0.7283 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/0.7055, allocations: 36.5 kB / 0.7283 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.7056, allocations: 8.281 kB / 0.7284 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.706, allocations: 125 kB / 0.7285 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.706, allocations: 0 / 0.7285 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.706, allocations: 5.156 kB / 0.7285 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.706, allocations: 1.25 kB / 0.7285 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.7063, allocations: 119.8 kB / 0.7286 GB, free: 4.207 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.0005839/0.7069, allocations: 379.7 kB / 0.729 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.7072, allocations: 126.6 kB / 0.7291 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.7073, allocations: 50.3 kB / 0.7291 GB, free: 3.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.7195, allocations: 4.204 MB / 0.7332 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.7196, allocations: 35.94 kB / 0.7333 GB, free: 1.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.7197, allocations: 4 kB / 0.7333 GB, free: 1.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007429/0.7204, allocations: 159.6 kB / 0.7334 GB, free: 1.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.7205, allocations: 52.78 kB / 0.7335 GB, free: 1.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.685e-05/0.7206, allocations: 103.3 kB / 0.7336 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.7206, allocations: 29.7 kB / 0.7336 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.7207, allocations: 85.42 kB / 0.7337 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.7208, allocations: 41.03 kB / 0.7337 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.7208, allocations: 29.95 kB / 0.7337 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.721, allocations: 324.2 kB / 0.7341 GB, free: 416 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.721, allocations: 25.73 kB / 0.7341 GB, free: 404 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.238e-05/0.7211, allocations: 29.67 kB / 0.7341 GB, free: 388 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.7212, allocations: 67.22 kB / 0.7342 GB, free: 352 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7212, allocations: 0 / 0.7342 GB, free: 352 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002317/0.7215, allocations: 109.6 kB / 0.7343 GB, free: 280 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7215, allocations: 5.5 kB / 0.7343 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7215, allocations: 0 / 0.7343 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7216, allocations: 1.375 kB / 0.7343 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7217, allocations: 24.61 kB / 0.7343 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7218, allocations: 5.375 kB / 0.7343 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.764e-05/0.7218, allocations: 13.22 kB / 0.7343 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.7219, allocations: 6.688 kB / 0.7343 GB, free: 252 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 0.0001204/0.722, allocations: 112.6 kB / 0.7344 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.722, allocations: 16.03 kB / 0.7344 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.7227, allocations: 363.3 kB / 0.7348 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.7227, allocations: 10.73 kB / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7227, allocations: 1.375 kB / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7227, allocations: 0 / 0.7348 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.7231, allocations: 286 kB / 0.7351 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7231, allocations: 0 / 0.7351 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.7232, allocations: 22.11 kB / 0.7351 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7232, allocations: 1.312 kB / 0.7351 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.7232, allocations: 9.328 kB / 0.7351 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7232, allocations: 4 kB / 0.7351 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7232, allocations: 2.875 kB / 0.7351 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.7236, allocations: 338.2 kB / 0.7354 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.796e-05/0.7238, allocations: 103.3 kB / 0.7355 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.7238, allocations: 5.031 kB / 0.7355 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.724, allocations: 2.969 kB / 0.7355 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.724, allocations: 8.391 kB / 0.7356 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.724, allocations: 12.22 kB / 0.7356 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.7241, allocations: 86.39 kB / 0.7356 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7241, allocations: 0 / 0.7356 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0016/0.7257, allocations: 300.9 kB / 0.7359 GB, free: 15.11 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.001353/0.7271, allocations: 403 kB / 0.7363 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.7273, allocations: 132.5 kB / 0.7364 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7273, allocations: 0 / 0.7364 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.7275, allocations: 112.1 kB / 0.7366 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.7278, allocations: 26.56 kB / 0.7366 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.7283, allocations: 375.9 kB / 0.7369 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.7286, allocations: 0.7157 MB / 0.7376 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00011/0.7287, allocations: 29.83 kB / 0.7377 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.7288, allocations: 20.72 kB / 0.7377 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.7288, allocations: 0 / 0.7377 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.01398/0.7428, allocations: 9.808 MB / 0.7473 GB, free: 5.332 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)