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.001442/0.001442, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00167/0.00167, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9562/0.9562, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7308/0.7308, allocations: 154.5 MB / 413.7 MB, free: 0.832 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: "" <> 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.188e-05, allocations: 5.094 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.472/0.472, allocations: 119.2 MB / 0.7344 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.4777, allocations: 7.234 MB / 0.7414 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.4778, allocations: 0 / 0.7414 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.4779, allocations: 16.95 kB / 0.7414 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.478, allocations: 21.14 kB / 0.7415 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.4805, allocations: 1.469 MB / 0.7429 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.4806, allocations: 80.34 kB / 0.743 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.4806, allocations: 3.266 kB / 0.743 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.4808, allocations: 54 kB / 0.743 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.4809, allocations: 31.8 kB / 0.7431 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4809, allocations: 2.406 kB / 0.7431 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003483/0.4844, allocations: 2.619 MB / 0.7456 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.4844, allocations: 15.67 kB / 0.7456 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.4844, allocations: 27.05 kB / 0.7457 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002469/0.4869, allocations: 1.801 MB / 0.7474 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4869, allocations: 0 / 0.7474 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4869, allocations: 0 / 0.7474 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4869, allocations: 0 / 0.7474 GB, free: 20.52 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.0008309/0.4877, allocations: 438.4 kB / 0.7478 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4878, allocations: 10.88 kB / 0.7479 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.4878, allocations: 41.53 kB / 0.7479 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.488, allocations: 25.05 kB / 0.7479 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.4881, allocations: 109.3 kB / 0.748 GB, free: 20 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.4882, allocations: 60.33 kB / 0.7481 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.4882, allocations: 5.234 kB / 0.7481 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.4885, allocations: 155.8 kB / 0.7482 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4885, allocations: 0 / 0.7482 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4885, allocations: 0 / 0.7482 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4885, allocations: 3.453 kB / 0.7482 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4887, allocations: 122.3 kB / 0.7483 GB, free: 19.81 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.0003846/0.4891, allocations: 294.7 kB / 0.7486 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.4893, allocations: 119.5 kB / 0.7487 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.4893, allocations: 46.03 kB / 0.7488 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006249/0.4956, allocations: 3.038 MB / 0.7518 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.4956, allocations: 35.94 kB / 0.7518 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.4956, allocations: 0 / 0.7518 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003786/0.496, allocations: 168.6 kB / 0.752 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.496, allocations: 54.03 kB / 0.752 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.47e-05/0.4961, allocations: 101.6 kB / 0.7521 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.4961, allocations: 25.7 kB / 0.7521 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/0.4961, allocations: 93.77 kB / 0.7522 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.4961, allocations: 43.88 kB / 0.7523 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.4962, allocations: 32.77 kB / 0.7523 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.947e-05/0.4962, allocations: 319.8 kB / 0.7526 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.4963, allocations: 24.27 kB / 0.7526 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.4963, allocations: 29.94 kB / 0.7526 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.4964, allocations: 72.7 kB / 0.7527 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4964, allocations: 0 / 0.7527 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001244/0.4965, allocations: 104 kB / 0.7528 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4965, allocations: 4.562 kB / 0.7528 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4965, allocations: 0.75 kB / 0.7528 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.4965, allocations: 5.094 kB / 0.7528 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.4966, allocations: 25.12 kB / 0.7528 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4966, allocations: 0.8438 kB / 0.7528 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.4967, allocations: 14.33 kB / 0.7529 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.4967, allocations: 6 kB / 0.7529 GB, free: 18.23 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 5.161e-05/0.4967, allocations: 118.8 kB / 0.753 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.4967, allocations: 7.391 kB / 0.753 GB, free: 18.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.4971, allocations: 375.2 kB / 0.7533 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.4971, allocations: 9.203 kB / 0.7534 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4971, allocations: 4 kB / 0.7534 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4971, allocations: 8.297 kB / 0.7534 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.4973, allocations: 251.4 kB / 0.7536 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4973, allocations: 1.641 kB / 0.7536 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.4974, allocations: 23.88 kB / 0.7536 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4974, allocations: 1.594 kB / 0.7536 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4974, allocations: 5.875 kB / 0.7536 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4974, allocations: 1.594 kB / 0.7536 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4974, allocations: 0.7969 kB / 0.7536 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.4977, allocations: 338.2 kB / 0.754 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.4977, allocations: 32.7 kB / 0.754 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4977, allocations: 5.75 kB / 0.754 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.4978, allocations: 9.281 kB / 0.754 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.4978, allocations: 8.172 kB / 0.754 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4978, allocations: 6.125 kB / 0.754 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.4979, allocations: 83.91 kB / 0.7541 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4979, allocations: 0 / 0.7541 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001028/0.4989, allocations: 300 kB / 0.7544 GB, free: 17.33 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.001355/0.5002, allocations: 1.215 MB / 0.7556 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.5004, allocations: 122.5 kB / 0.7557 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5005, allocations: 0 / 0.7557 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.411e-05/0.5005, allocations: 95.62 kB / 0.7558 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5008, allocations: 19.42 kB / 0.7558 GB, free: 16.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008216/0.5016, allocations: 438.3 kB / 0.7562 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.625e-05/0.5017, allocations: 103.9 kB / 0.7563 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.5018, allocations: 39.25 kB / 0.7564 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.5019, allocations: 39.89 kB / 0.7564 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.5019, allocations: 0 / 0.7564 GB, free: 16.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.5286, allocations: 12.42 MB / 0.7685 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.985, allocations: 12.77 kB / 0.7685 GB, free: 13.32 MB / 0.6355 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.856086968444288] Failed to read output from testmodel.py, exit status != 0: 8.072348775342107 8.08363192 7.5950791539999996 Calling exit ...