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.0008116/0.0008116, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.000857/0.000857, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9511/0.9511, allocations: 230.6 MB / 256 MB, free: 9.609 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.8059/0.8059, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.0009067/0.0009067, allocations: 63.03 kB / 0.7181 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5502/0.5511, allocations: 102 MB / 0.8178 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1309/0.682, allocations: 119.1 MB / 0.9341 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006408/0.6884, allocations: 7.239 MB / 0.9412 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.6885, allocations: 0 / 0.9412 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.6886, allocations: 19.91 kB / 0.9412 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.6887, allocations: 27.72 kB / 0.9412 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.6915, allocations: 1.445 MB / 0.9426 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.6916, allocations: 75.64 kB / 0.9427 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.6916, allocations: 0 / 0.9427 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.6917, allocations: 55.77 kB / 0.9428 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.6918, allocations: 27.92 kB / 0.9428 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.6918, allocations: 4 kB / 0.9428 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00337/0.6952, allocations: 2.618 MB / 0.9454 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.232e-05/0.6952, allocations: 15.91 kB / 0.9454 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.6953, allocations: 31.86 kB / 0.9454 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.6969, allocations: 1.372 MB / 0.9467 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6969, allocations: 0 / 0.9467 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.614e-06/0.6969, allocations: 0 / 0.9467 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.6969, allocations: 0 / 0.9467 GB, free: 1.203 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.0008659/0.6977, allocations: 449.2 kB / 0.9472 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.6978, allocations: 8.031 kB / 0.9472 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.6978, allocations: 42.69 kB / 0.9472 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002398/0.6981, allocations: 24.86 kB / 0.9472 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.6981, allocations: 110.5 kB / 0.9473 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.6982, allocations: 59.72 kB / 0.9474 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.6982, allocations: 8 kB / 0.9474 GB, free: 452 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.6985, allocations: 147.2 kB / 0.9476 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.6985, allocations: 0 / 0.9476 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6985, allocations: 4 kB / 0.9476 GB, free: 288 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.6985, allocations: 8 kB / 0.9476 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.6987, allocations: 115.8 kB / 0.9477 GB, free: 164 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.0004188/0.6991, allocations: 291.8 kB / 0.948 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.6993, allocations: 118.6 kB / 0.9481 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.412e-05/0.6994, allocations: 48.83 kB / 0.9481 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006051/0.7054, allocations: 3.047 MB / 0.9511 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.7055, allocations: 42.44 kB / 0.9511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 3.376e-06/0.7055, allocations: 4 kB / 0.9511 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0004074/0.7059, allocations: 168.2 kB / 0.9513 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.7059, allocations: 51.41 kB / 0.9513 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.706, allocations: 105.8 kB / 0.9514 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.706, allocations: 29.7 kB / 0.9515 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.706, allocations: 84.08 kB / 0.9516 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.7061, allocations: 47.59 kB / 0.9516 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.7061, allocations: 29.7 kB / 0.9516 GB, free: 12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/0.7062, allocations: 314.8 kB / 0.9519 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.7062, allocations: 27.98 kB / 0.952 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.445e-05/0.7063, allocations: 27.92 kB / 0.952 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.7063, allocations: 71.34 kB / 0.952 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.7063, allocations: 4 kB / 0.9521 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001333/0.7065, allocations: 105.7 kB / 0.9522 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7065, allocations: 4 kB / 0.9522 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7065, allocations: 0 / 0.9522 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7065, allocations: 0 / 0.9522 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.325e-05/0.7066, allocations: 27.92 kB / 0.9522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.7066, allocations: 0 / 0.9522 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.7066, allocations: 15.83 kB / 0.9522 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.7066, allocations: 8 kB / 0.9522 GB, free: 11.39 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 6.057e-05/0.7067, allocations: 118.5 kB / 0.9523 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.7067, allocations: 7.953 kB / 0.9523 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.707, allocations: 376.3 kB / 0.9527 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.7071, allocations: 7.984 kB / 0.9527 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7071, allocations: 0 / 0.9527 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7071, allocations: 3.938 kB / 0.9527 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.7073, allocations: 256.2 kB / 0.9529 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7073, allocations: 0 / 0.9529 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.7073, allocations: 27.98 kB / 0.953 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.7073, allocations: 0 / 0.953 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.7073, allocations: 3.938 kB / 0.953 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.7073, allocations: 4 kB / 0.953 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7073, allocations: 0 / 0.953 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.7076, allocations: 343.2 kB / 0.9533 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.7076, allocations: 23.81 kB / 0.9533 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.7076, allocations: 4 kB / 0.9533 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.095e-05/0.7077, allocations: 7.984 kB / 0.9533 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.7077, allocations: 15.92 kB / 0.9534 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.7077, allocations: 4 kB / 0.9534 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.7078, allocations: 83.27 kB / 0.9534 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7078, allocations: 0 / 0.9534 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006583/0.7084, allocations: 311.6 kB / 0.9537 GB, free: 9.754 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.001301/0.7097, allocations: 1.161 MB / 0.9549 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.7099, allocations: 126.5 kB / 0.955 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7099, allocations: 0 / 0.955 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.71, allocations: 87.91 kB / 0.9551 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.7102, allocations: 23.92 kB / 0.9551 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.7109, allocations: 441.8 kB / 0.9555 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.711, allocations: 110.3 kB / 0.9556 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.275e-05/0.7111, allocations: 34.08 kB / 0.9557 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.7111, allocations: 39.42 kB / 0.9557 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/0.7111, allocations: 0 / 0.9557 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.7418, allocations: 12.25 MB / 0.9677 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.829, allocations: 4.516 kB / 0.9677 GB, free: 11.54 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 & 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.914900623261929] Failed to read output from testmodel.py, exit status != 0: 7.910835446789861 7.921419756 7.221576149 Calling exit ...