Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001319/0.001319, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001702/0.001702, allocations: 208.1 kB / 22.99 MB, free: 4.609 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.596/1.596, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9872/0.9872, allocations: 149.9 MB / 463.1 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002362/0.002362, allocations: 67.27 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1969, allocations: 89.17 MB / 0.7281 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.588/0.7849, allocations: 119.1 MB / 0.8445 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009653/0.7945, allocations: 7.242 MB / 0.8515 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.7946, allocations: 2.688 kB / 0.8515 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.7948, allocations: 21.31 kB / 0.8516 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.7948, allocations: 15.84 kB / 0.8516 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005585/0.8004, allocations: 1.46 MB / 0.853 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.8006, allocations: 74.58 kB / 0.8531 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.8006, allocations: 6.953 kB / 0.8531 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.8008, allocations: 53.14 kB / 0.8531 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.8009, allocations: 29.22 kB / 0.8532 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.8009, allocations: 2.562 kB / 0.8532 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005667/0.8066, allocations: 2.617 MB / 0.8557 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.8067, allocations: 21.06 kB / 0.8557 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.8067, allocations: 21.38 kB / 0.8558 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.8097, allocations: 1.385 MB / 0.8571 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.8097, allocations: 3.938 kB / 0.8571 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8097, allocations: 0 / 0.8571 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.8098, allocations: 0 / 0.8571 GB, free: 0.9023 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.001239/0.811, allocations: 437.2 kB / 0.8575 GB, free: 456 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.811, allocations: 8.031 kB / 0.8575 GB, free: 448 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.8111, allocations: 38.75 kB / 0.8576 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.8115, allocations: 20.88 kB / 0.8576 GB, free: 380 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.8116, allocations: 118.5 kB / 0.8577 GB, free: 236 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.8117, allocations: 55.97 kB / 0.8578 GB, free: 168 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.8117, allocations: 11.94 kB / 0.8578 GB, free: 156 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.8121, allocations: 148.6 kB / 0.8579 GB, free: 16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8121, allocations: 0 / 0.8579 GB, free: 16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.8121, allocations: 4.688 kB / 0.8579 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.8121, allocations: 4 kB / 0.8579 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.8125, allocations: 119.8 kB / 0.858 GB, free: 15.87 MB / 0.6387 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.0005655/0.813, allocations: 287.9 kB / 0.8583 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.8133, allocations: 123.8 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.8134, allocations: 40.84 kB / 0.8585 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01225/0.8257, allocations: 3.048 MB / 0.8614 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.8257, allocations: 34.56 kB / 0.8615 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.8257, allocations: 7.938 kB / 0.8615 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005984/0.8263, allocations: 161 kB / 0.8616 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.8264, allocations: 51.41 kB / 0.8617 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.8264, allocations: 105.8 kB / 0.8618 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.8265, allocations: 29.7 kB / 0.8618 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.8265, allocations: 88.02 kB / 0.8619 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.8266, allocations: 43.58 kB / 0.8619 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.8267, allocations: 33.72 kB / 0.862 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8268, allocations: 322.8 kB / 0.8623 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.534e-05/0.8269, allocations: 23.98 kB / 0.8623 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.8269, allocations: 31.98 kB / 0.8623 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.8271, allocations: 64.84 kB / 0.8624 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8271, allocations: 0 / 0.8624 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002159/0.8273, allocations: 113.6 kB / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8273, allocations: 4 kB / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.8273, allocations: 0 / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.8273, allocations: 0 / 0.8625 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.8275, allocations: 27.92 kB / 0.8625 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8275, allocations: 0.5625 kB / 0.8625 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.8275, allocations: 15.83 kB / 0.8625 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.8275, allocations: 4 kB / 0.8626 GB, free: 11.11 MB / 0.6387 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.0001051/0.8276, allocations: 117.8 kB / 0.8627 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.8277, allocations: 4 kB / 0.8627 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.8282, allocations: 378.9 kB / 0.863 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8282, allocations: 11.98 kB / 0.863 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8282, allocations: 1.438 kB / 0.863 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8282, allocations: 3.938 kB / 0.863 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.8285, allocations: 244.6 kB / 0.8633 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.8285, allocations: 3.938 kB / 0.8633 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.8286, allocations: 23.98 kB / 0.8633 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8286, allocations: 0 / 0.8633 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.8287, allocations: 8 kB / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8287, allocations: 0 / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8287, allocations: 0 / 0.8633 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004412/0.8291, allocations: 342.9 kB / 0.8636 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.349e-05/0.8292, allocations: 36.5 kB / 0.8637 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.8292, allocations: 4 kB / 0.8637 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.8293, allocations: 7.984 kB / 0.8637 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.8293, allocations: 7.984 kB / 0.8637 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.8294, allocations: 11.94 kB / 0.8637 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.8294, allocations: 83.27 kB / 0.8638 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8294, allocations: 4 kB / 0.8638 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009265/0.8303, allocations: 307.6 kB / 0.8641 GB, free: 9.473 MB / 0.6387 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.002054/0.8324, allocations: 1.162 MB / 0.8652 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.8326, allocations: 124.7 kB / 0.8653 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8326, allocations: 3.938 kB / 0.8653 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.8328, allocations: 87.95 kB / 0.8654 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.8331, allocations: 17.27 kB / 0.8654 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.8341, allocations: 448.6 kB / 0.8659 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.8342, allocations: 102.9 kB / 0.866 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.8343, allocations: 29.67 kB / 0.866 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.8344, allocations: 39.42 kB / 0.866 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.8344, allocations: 4 kB / 0.866 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04888/0.8833, allocations: 12.26 MB / 0.878 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.71, allocations: 3.984 kB / 0.878 GB, free: 11.3 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.758432581089437] Failed to read output from testmodel.py, exit status != 0: 12.829085567966104 12.845568152 12.032517257 Calling exit ...