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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8862/0.8862, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7255/0.7255, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.511e-05, allocations: 5.562 kB / 0.6192 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4013/0.4013, allocations: 119.2 MB / 0.7356 GB, free: 27.13 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006181/0.4075, allocations: 7.221 MB / 0.7427 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.4075, allocations: 0 / 0.7427 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.4077, allocations: 28.09 kB / 0.7427 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.33e-05/0.4077, allocations: 20.86 kB / 0.7427 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.4108, allocations: 1.464 MB / 0.7441 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.411, allocations: 83.3 kB / 0.7442 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.411, allocations: 4.281 kB / 0.7442 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.4111, allocations: 56.77 kB / 0.7443 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.4112, allocations: 23.42 kB / 0.7443 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.4112, allocations: 4.031 kB / 0.7443 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.4145, allocations: 2.622 MB / 0.7469 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.4146, allocations: 14.33 kB / 0.7469 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.4146, allocations: 28.66 kB / 0.7469 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.4169, allocations: 1.791 MB / 0.7487 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4169, allocations: 1.984 kB / 0.7487 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4169, allocations: 4 kB / 0.7487 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4169, allocations: 0 / 0.7487 GB, free: 20.77 MB / 0.6355 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.001165/0.4181, allocations: 436.9 kB / 0.7491 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.4181, allocations: 11.06 kB / 0.7491 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.4183, allocations: 25.27 kB / 0.7491 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.796e-05/0.4184, allocations: 109.8 kB / 0.7492 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.4184, allocations: 56.94 kB / 0.7493 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4184, allocations: 8.5 kB / 0.7493 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.4187, allocations: 150.5 kB / 0.7494 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4187, allocations: 3.938 kB / 0.7494 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4187, allocations: 6.031 kB / 0.7494 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4187, allocations: 1.375 kB / 0.7494 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.4189, allocations: 122 kB / 0.7495 GB, free: 20.11 MB / 0.6355 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.0003179/0.4192, allocations: 263.5 kB / 0.7498 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4194, allocations: 122.4 kB / 0.7499 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.4194, allocations: 47.84 kB / 0.75 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005856/0.4253, allocations: 3.041 MB / 0.7529 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.4253, allocations: 32.72 kB / 0.753 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.4253, allocations: 2.438 kB / 0.753 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003166/0.4256, allocations: 165.6 kB / 0.7531 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.4256, allocations: 54.73 kB / 0.7532 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.668e-05/0.4257, allocations: 101.5 kB / 0.7533 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.4257, allocations: 25.7 kB / 0.7533 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.4257, allocations: 85.75 kB / 0.7534 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4257, allocations: 55.78 kB / 0.7534 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.4258, allocations: 29.66 kB / 0.7535 GB, free: 19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.4258, allocations: 315.1 kB / 0.7538 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.4258, allocations: 28.5 kB / 0.7538 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.4259, allocations: 27.02 kB / 0.7538 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.986e-05/0.426, allocations: 70.92 kB / 0.7539 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.426, allocations: 3.938 kB / 0.7539 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001147/0.4261, allocations: 102.8 kB / 0.754 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4261, allocations: 6.125 kB / 0.754 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4261, allocations: 48 / 0.754 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.4261, allocations: 5.234 kB / 0.754 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.4262, allocations: 28.94 kB / 0.754 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4262, allocations: 1.344 kB / 0.754 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.4262, allocations: 13.62 kB / 0.754 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.4262, allocations: 3.906 kB / 0.754 GB, free: 18.56 MB / 0.6355 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 4.799e-05/0.4263, allocations: 126.5 kB / 0.7542 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.4263, allocations: 6.609 kB / 0.7542 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.4266, allocations: 386.8 kB / 0.7545 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4266, allocations: 4.828 kB / 0.7545 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4266, allocations: 1.703 kB / 0.7545 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4266, allocations: 0.6562 kB / 0.7545 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.4268, allocations: 214.3 kB / 0.7547 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4268, allocations: 3.938 kB / 0.7547 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.4268, allocations: 28.59 kB / 0.7548 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4268, allocations: 1.188 kB / 0.7548 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4268, allocations: 1.938 kB / 0.7548 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4268, allocations: 2.203 kB / 0.7548 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4268, allocations: 0 / 0.7548 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.4271, allocations: 339.2 kB / 0.7551 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.4271, allocations: 32.47 kB / 0.7551 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4271, allocations: 5.734 kB / 0.7551 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.4272, allocations: 5.016 kB / 0.7551 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.4272, allocations: 9.094 kB / 0.7552 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4272, allocations: 13.22 kB / 0.7552 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.418e-05/0.4272, allocations: 80.23 kB / 0.7552 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4272, allocations: 0 / 0.7552 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007511/0.428, allocations: 304.3 kB / 0.7555 GB, free: 17.68 MB / 0.6355 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.0009637/0.4289, allocations: 438.1 kB / 0.756 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.4291, allocations: 127.4 kB / 0.7561 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.4291, allocations: 0 / 0.7561 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.4292, allocations: 90.06 kB / 0.7562 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.4294, allocations: 24.44 kB / 0.7562 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.4297, allocations: 341.4 kB / 0.7565 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.753e-05/0.4298, allocations: 100.9 kB / 0.7566 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.4298, allocations: 21.95 kB / 0.7566 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.4298, allocations: 0 / 0.7566 GB, free: 17.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.00875/0.4386, allocations: 6.961 MB / 0.7634 GB, free: 16.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.902560292743146] Failed to read output from testmodel.py, exit status != 0: 0.44392625242471695 0.450143347 0.031806235 Calling exit ...