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.0007727/0.0007727, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007887/0.0007887, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9476/0.9476, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.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.7963/0.7963, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 75.23 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5532, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1431/0.6963, allocations: 138.8 MB / 0.9534 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00734/0.7036, allocations: 8.041 MB / 0.9613 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.7037, allocations: 3.938 kB / 0.9613 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.7039, allocations: 35.83 kB / 0.9613 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.7039, allocations: 15.84 kB / 0.9613 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.7065, allocations: 1.467 MB / 0.9628 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.7066, allocations: 83.58 kB / 0.9628 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.7066, allocations: 4 kB / 0.9628 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.7067, allocations: 47.83 kB / 0.9629 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.505e-05/0.7068, allocations: 31.91 kB / 0.9629 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.7068, allocations: 0 / 0.9629 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.7094, allocations: 2.723 MB / 0.9656 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.7094, allocations: 19.92 kB / 0.9656 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.7094, allocations: 27.86 kB / 0.9656 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.7106, allocations: 1.388 MB / 0.967 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7106, allocations: 0 / 0.967 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7106, allocations: 0 / 0.967 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.7106, allocations: 0 / 0.967 GB, free: 12.8 MB / 0.7448 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.0007926/0.7114, allocations: 445.2 kB / 0.9674 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7115, allocations: 8.031 kB / 0.9674 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.7115, allocations: 46.73 kB / 0.9675 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.7117, allocations: 24.86 kB / 0.9675 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.7118, allocations: 106.5 kB / 0.9676 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/0.7118, allocations: 63.72 kB / 0.9676 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.7119, allocations: 7.938 kB / 0.9677 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.7121, allocations: 125.5 kB / 0.9678 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.7121, allocations: 0 / 0.9678 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7121, allocations: 0 / 0.9678 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7121, allocations: 4 kB / 0.9678 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.7123, allocations: 123.9 kB / 0.9679 GB, free: 11.78 MB / 0.7448 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.0004104/0.7127, allocations: 351.2 kB / 0.9682 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.7129, allocations: 114.6 kB / 0.9683 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.128e-05/0.7129, allocations: 44.83 kB / 0.9684 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005179/0.7181, allocations: 3.032 MB / 0.9713 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.7181, allocations: 34.56 kB / 0.9714 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.7181, allocations: 0 / 0.9714 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003137/0.7184, allocations: 169.5 kB / 0.9715 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.7185, allocations: 55.41 kB / 0.9716 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.275e-05/0.7185, allocations: 105.7 kB / 0.9717 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7185, allocations: 25.7 kB / 0.9717 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.7186, allocations: 92.06 kB / 0.9718 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.7186, allocations: 47.61 kB / 0.9719 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.7186, allocations: 29.7 kB / 0.9719 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.7187, allocations: 314.8 kB / 0.9722 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.7187, allocations: 27.98 kB / 0.9722 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.7188, allocations: 31.3 kB / 0.9722 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.387e-05/0.7188, allocations: 72.86 kB / 0.9723 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7188, allocations: 0 / 0.9723 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001088/0.719, allocations: 105.6 kB / 0.9724 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.719, allocations: 6.188 kB / 0.9724 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.719, allocations: 4 kB / 0.9724 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.719, allocations: 4 kB / 0.9724 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.328e-05/0.7191, allocations: 23.98 kB / 0.9724 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.7191, allocations: 0 / 0.9724 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.7191, allocations: 15.81 kB / 0.9725 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.7191, allocations: 4 kB / 0.9725 GB, free: 6.969 MB / 0.7448 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.68e-05/0.7192, allocations: 113.8 kB / 0.9726 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.7192, allocations: 11.95 kB / 0.9726 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.7195, allocations: 384.3 kB / 0.9729 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.7195, allocations: 0 / 0.9729 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7195, allocations: 0 / 0.9729 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7195, allocations: 11.92 kB / 0.973 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.7197, allocations: 260.5 kB / 0.9732 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7197, allocations: 0 / 0.9732 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.7197, allocations: 19.98 kB / 0.9732 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.7197, allocations: 3.984 kB / 0.9732 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.7197, allocations: 11.94 kB / 0.9732 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7197, allocations: 3.938 kB / 0.9732 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.7197, allocations: 0 / 0.9732 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.7199, allocations: 331.3 kB / 0.9736 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.72, allocations: 31.8 kB / 0.9736 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.72, allocations: 0 / 0.9736 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.72, allocations: 11.98 kB / 0.9736 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.7201, allocations: 11.92 kB / 0.9736 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7201, allocations: 4 kB / 0.9736 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.757e-05/0.7201, allocations: 87.27 kB / 0.9737 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7201, allocations: 4 kB / 0.9737 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004588/0.7206, allocations: 303.6 kB / 0.974 GB, free: 5.32 MB / 0.7448 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.001103/0.7217, allocations: 1.167 MB / 0.9751 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.7218, allocations: 123.9 kB / 0.9753 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7218, allocations: 0 / 0.9753 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.057e-05/0.7219, allocations: 91.89 kB / 0.9753 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.7221, allocations: 23.94 kB / 0.9754 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.7229, allocations: 433.9 kB / 0.9758 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.723, allocations: 0.7165 MB / 0.9765 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.387e-05/0.7231, allocations: 36.11 kB / 0.9765 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.724e-05/0.7232, allocations: 39.42 kB / 0.9765 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of SimCode: time 2.9e-07/0.7232, allocations: 0 / 0.9765 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.7449, allocations: 11.98 MB / 0.9883 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.959/7.704, allocations: 0 / 0.9883 GB, free: 6.742 MB / 0.7605 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.802194433053955] Failed to read output from testmodel.py, exit status != 0: 7.789408256998286 7.805003847 7.092210916 Calling exit ...