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.001046/0.001046, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001413/0.001413, allocations: 212.1 kB / 22.25 MB, free: 3.582 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.9869/0.9869, allocations: 230.6 MB / 256 MB, free: 9.434 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.8136/0.8136, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.001505/0.001505, allocations: 65.8 kB / 0.7181 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5849, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1297/0.7146, allocations: 119.1 MB / 0.9341 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.7214, allocations: 7.231 MB / 0.9412 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.7215, allocations: 0 / 0.9412 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.7216, allocations: 31.83 kB / 0.9412 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.604e-05/0.7217, allocations: 11.86 kB / 0.9412 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.7246, allocations: 1.451 MB / 0.9426 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.7248, allocations: 79.58 kB / 0.9427 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.7248, allocations: 11.98 kB / 0.9427 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.7249, allocations: 39.86 kB / 0.9428 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.725, allocations: 35.83 kB / 0.9428 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.725, allocations: 0 / 0.9428 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.7283, allocations: 2.618 MB / 0.9454 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.7283, allocations: 11.98 kB / 0.9454 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.7284, allocations: 31.84 kB / 0.9454 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.73, allocations: 1.38 MB / 0.9467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.73, allocations: 3.938 kB / 0.9468 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.304e-06/0.73, allocations: 4 kB / 0.9468 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.73, allocations: 0 / 0.9468 GB, free: 1.141 MB / 0.7136 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.0007367/0.7308, allocations: 437.2 kB / 0.9472 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7308, allocations: 8.031 kB / 0.9472 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.7309, allocations: 42.73 kB / 0.9472 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.7311, allocations: 20.88 kB / 0.9472 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.7311, allocations: 110.5 kB / 0.9473 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.378e-05/0.7312, allocations: 63.72 kB / 0.9474 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7312, allocations: 4 kB / 0.9474 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.7315, allocations: 155.2 kB / 0.9476 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.7315, allocations: 0 / 0.9476 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7315, allocations: 3.984 kB / 0.9476 GB, free: 232 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7315, allocations: 4 kB / 0.9476 GB, free: 228 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.7317, allocations: 119.8 kB / 0.9477 GB, free: 108 kB / 0.7136 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.0003926/0.7321, allocations: 299.7 kB / 0.948 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.7322, allocations: 110.6 kB / 0.9481 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.7323, allocations: 48.83 kB / 0.9481 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005823/0.7381, allocations: 3.04 MB / 0.9511 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.7381, allocations: 34.56 kB / 0.9511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.7381, allocations: 0 / 0.9511 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003758/0.7385, allocations: 172.1 kB / 0.9513 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.7386, allocations: 51.41 kB / 0.9513 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.7386, allocations: 101.8 kB / 0.9514 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.7386, allocations: 29.7 kB / 0.9515 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.7387, allocations: 96 kB / 0.9515 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.7387, allocations: 43.59 kB / 0.9516 GB, free: 12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.47e-05/0.7387, allocations: 29.7 kB / 0.9516 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.7388, allocations: 326.8 kB / 0.9519 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.7388, allocations: 23.98 kB / 0.952 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.7389, allocations: 27.98 kB / 0.952 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.739, allocations: 64.86 kB / 0.952 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.739, allocations: 0 / 0.952 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000124/0.7391, allocations: 108.3 kB / 0.9521 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.7391, allocations: 8 kB / 0.9522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7391, allocations: 0 / 0.9522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.7391, allocations: 0 / 0.9522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.7392, allocations: 23.92 kB / 0.9522 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.7392, allocations: 4 kB / 0.9522 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.866e-05/0.7392, allocations: 19.81 kB / 0.9522 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.7392, allocations: 8 kB / 0.9522 GB, free: 11.34 MB / 0.7292 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.0002635/0.7395, allocations: 110.5 kB / 0.9523 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.7395, allocations: 11.89 kB / 0.9523 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.7398, allocations: 384.2 kB / 0.9527 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.7398, allocations: 8.188 kB / 0.9527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7399, allocations: 0 / 0.9527 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.7399, allocations: 11.91 kB / 0.9527 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.74, allocations: 252.3 kB / 0.9529 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.74, allocations: 0 / 0.9529 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.7401, allocations: 23.98 kB / 0.953 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7401, allocations: 4 kB / 0.953 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.7401, allocations: 4 kB / 0.953 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7401, allocations: 0 / 0.953 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7401, allocations: 0 / 0.953 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.7404, allocations: 335.2 kB / 0.9533 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.7404, allocations: 31.8 kB / 0.9533 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.7404, allocations: 4 kB / 0.9533 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.04e-05/0.7405, allocations: 4 kB / 0.9533 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.7405, allocations: 15.91 kB / 0.9534 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.7405, allocations: 12 kB / 0.9534 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.711e-05/0.7406, allocations: 75.28 kB / 0.9534 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.7406, allocations: 0 / 0.9534 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006903/0.7412, allocations: 307.6 kB / 0.9537 GB, free: 9.707 MB / 0.7292 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.001262/0.7425, allocations: 1.167 MB / 0.9549 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.7427, allocations: 124 kB / 0.955 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7427, allocations: 3.938 kB / 0.955 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/0.7428, allocations: 86.08 kB / 0.9551 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.743, allocations: 19.92 kB / 0.9551 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.7436, allocations: 441.8 kB / 0.9555 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.7437, allocations: 110.3 kB / 0.9556 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.174e-05/0.7438, allocations: 32.34 kB / 0.9556 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.7438, allocations: 39.42 kB / 0.9557 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.7438, allocations: 4 kB / 0.9557 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.775, allocations: 12.25 MB / 0.9677 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/7.541, allocations: 9.828 kB / 0.9677 GB, free: 11.48 MB / 0.7448 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.595907826907933] Failed to read output from testmodel.py, exit status != 0: 7.624337805900723 7.631479045 6.899661308 Calling exit ...