Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001944/0.001944, allocations: 104.9 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002506/0.002506, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.897/0.897, allocations: 133.9 MB / 442.8 MB, free: 11.33 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_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.001923/0.001923, allocations: 71.39 kB / 0.6134 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1749, allocations: 85.84 MB / 0.6972 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5286/0.7035, allocations: 138.8 MB / 0.8328 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0117/0.7152, allocations: 8.02 MB / 0.8407 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.7153, allocations: 0 / 0.8407 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.7155, allocations: 20.7 kB / 0.8407 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.972e-05/0.7156, allocations: 26.58 kB / 0.8407 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.7207, allocations: 1.474 MB / 0.8422 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.7208, allocations: 71.09 kB / 0.8422 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.7209, allocations: 6.594 kB / 0.8422 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.721, allocations: 54.39 kB / 0.8423 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.7212, allocations: 36.92 kB / 0.8423 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.7212, allocations: 1.812 kB / 0.8423 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005014/0.7262, allocations: 2.716 MB / 0.845 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.7262, allocations: 15.91 kB / 0.845 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.7263, allocations: 31.86 kB / 0.845 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.7287, allocations: 1.384 MB / 0.8464 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7287, allocations: 0 / 0.8464 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7287, allocations: 0 / 0.8464 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.7287, allocations: 4 kB / 0.8464 GB, free: 15.61 MB / 0.6231 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.001156/0.7298, allocations: 0.5062 MB / 0.8469 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.7299, allocations: 9.109 kB / 0.8469 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.7299, allocations: 38.75 kB / 0.8469 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.7303, allocations: 24.86 kB / 0.8469 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.7305, allocations: 168.3 kB / 0.8471 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.7305, allocations: 34.2 kB / 0.8471 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.7306, allocations: 11.94 kB / 0.8471 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.731, allocations: 114.2 kB / 0.8472 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.731, allocations: 7.938 kB / 0.8473 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.731, allocations: 11.94 kB / 0.8473 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.731, allocations: 0 / 0.8473 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.7313, allocations: 115.8 kB / 0.8474 GB, free: 14.47 MB / 0.6231 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.000533/0.7318, allocations: 376.2 kB / 0.8477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.7321, allocations: 112.2 kB / 0.8478 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.7322, allocations: 56.83 kB / 0.8479 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.7448, allocations: 4.669 MB / 0.8525 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.7449, allocations: 38.55 kB / 0.8525 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 4.027e-06/0.7449, allocations: 3.984 kB / 0.8525 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0005913/0.7455, allocations: 172.6 kB / 0.8527 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.7455, allocations: 51.41 kB / 0.8527 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.7456, allocations: 97.86 kB / 0.8528 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.7456, allocations: 37.69 kB / 0.8528 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.7457, allocations: 84.08 kB / 0.8529 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/0.7457, allocations: 47.58 kB / 0.853 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.7458, allocations: 25.72 kB / 0.853 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.746, allocations: 326.8 kB / 0.8533 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.746, allocations: 23.98 kB / 0.8533 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.7461, allocations: 27.98 kB / 0.8534 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.7462, allocations: 68.86 kB / 0.8534 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7462, allocations: 0 / 0.8534 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001955/0.7464, allocations: 108.4 kB / 0.8535 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7464, allocations: 11.98 kB / 0.8535 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.7464, allocations: 0 / 0.8535 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7464, allocations: 0 / 0.8535 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.7466, allocations: 19.98 kB / 0.8535 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.7466, allocations: 0.875 kB / 0.8536 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.7466, allocations: 23.77 kB / 0.8536 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.7466, allocations: 4 kB / 0.8536 GB, free: 7.57 MB / 0.6231 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 9.344e-05/0.7467, allocations: 117.8 kB / 0.8537 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.7468, allocations: 7.953 kB / 0.8537 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005124/0.7473, allocations: 369.7 kB / 0.854 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.7473, allocations: 7.984 kB / 0.8541 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7473, allocations: 0 / 0.8541 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.7473, allocations: 3.938 kB / 0.8541 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.7477, allocations: 281.1 kB / 0.8543 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7477, allocations: 0 / 0.8543 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.7478, allocations: 23.98 kB / 0.8544 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7478, allocations: 11.94 kB / 0.8544 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-06/0.7478, allocations: 0 / 0.8544 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7478, allocations: 0 / 0.8544 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7478, allocations: 0 / 0.8544 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.7482, allocations: 331.2 kB / 0.8547 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.7483, allocations: 100.9 kB / 0.8548 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.7483, allocations: 4 kB / 0.8548 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.7484, allocations: 7.984 kB / 0.8548 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.7484, allocations: 11.98 kB / 0.8548 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.7485, allocations: 11.94 kB / 0.8548 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.7485, allocations: 79.28 kB / 0.8549 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.7485, allocations: 0 / 0.8549 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001049/0.7496, allocations: 311.6 kB / 0.8552 GB, free: 5.82 MB / 0.6231 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.001964/0.7515, allocations: 1.156 MB / 0.8563 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.7518, allocations: 127.9 kB / 0.8564 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7518, allocations: 0 / 0.8564 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.7519, allocations: 88.61 kB / 0.8565 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.7522, allocations: 19.92 kB / 0.8565 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.7533, allocations: 438.2 kB / 0.857 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.7537, allocations: 0.7127 MB / 0.8577 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.7538, allocations: 32.89 kB / 0.8577 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.7539, allocations: 39.42 kB / 0.8577 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.7539, allocations: 0 / 0.8577 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.7927, allocations: 11.72 MB / 0.8692 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/9.082, allocations: 12.97 kB / 0.8692 GB, free: 7.523 MB / 0.6387 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.873137129005045] Failed to read output from testmodel.py, exit status != 0: 9.152287606004393 9.167283338 8.435675165 Calling exit ...