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.001376/0.001376, allocations: 119 kB / 19.69 MB, free: 2.199 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.001587/0.001587, allocations: 221.4 kB / 23.01 MB, free: 5.047 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.992 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 1.015/1.015, allocations: 150 MB / 463.2 MB, free: 10.49 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.002261/0.002261, allocations: 63.06 kB / 0.6412 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2014, allocations: 89.18 MB / 0.7283 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5974/0.7987, allocations: 138.8 MB / 0.8639 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0107/0.8094, allocations: 8.038 MB / 0.8718 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.8095, allocations: 0 / 0.8718 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.8097, allocations: 24.92 kB / 0.8718 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.8098, allocations: 18.62 kB / 0.8718 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004521/0.8143, allocations: 1.481 MB / 0.8732 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.8145, allocations: 71.72 kB / 0.8733 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.8145, allocations: 4 kB / 0.8733 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.8147, allocations: 51.77 kB / 0.8734 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.8148, allocations: 35.91 kB / 0.8734 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.8148, allocations: 0 / 0.8734 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005869/0.8207, allocations: 2.731 MB / 0.8761 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.8207, allocations: 15.92 kB / 0.8761 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.8208, allocations: 27.86 kB / 0.8761 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.8242, allocations: 1.384 MB / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.8242, allocations: 0 / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8242, allocations: 0 / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.8242, allocations: 0 / 0.8775 GB, free: 14.51 MB / 0.6544 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.001194/0.8254, allocations: 445.2 kB / 0.8779 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.8254, allocations: 8.031 kB / 0.8779 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.8255, allocations: 38.75 kB / 0.8779 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.8259, allocations: 24.86 kB / 0.878 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.826, allocations: 118.4 kB / 0.8781 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.8261, allocations: 59.97 kB / 0.8781 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.8261, allocations: 7.938 kB / 0.8781 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.8265, allocations: 125.6 kB / 0.8783 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8266, allocations: 3.938 kB / 0.8783 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8266, allocations: 0 / 0.8783 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.8266, allocations: 4 kB / 0.8783 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.8269, allocations: 129.2 kB / 0.8784 GB, free: 13.48 MB / 0.6544 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.0006102/0.8275, allocations: 343.2 kB / 0.8787 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.8278, allocations: 121 kB / 0.8788 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/0.8279, allocations: 45.95 kB / 0.8789 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.8397, allocations: 3.024 MB / 0.8818 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.8397, allocations: 38.5 kB / 0.8819 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.814e-06/0.8397, allocations: 0 / 0.8819 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005603/0.8403, allocations: 164.6 kB / 0.882 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.8403, allocations: 55.41 kB / 0.8821 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.8404, allocations: 101.9 kB / 0.8822 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.8404, allocations: 25.7 kB / 0.8822 GB, free: 9.477 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.8405, allocations: 92.08 kB / 0.8823 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.8405, allocations: 43.62 kB / 0.8823 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.8406, allocations: 29.7 kB / 0.8824 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8407, allocations: 318.8 kB / 0.8827 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.8408, allocations: 28 kB / 0.8827 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.8408, allocations: 23.98 kB / 0.8827 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.841, allocations: 80.78 kB / 0.8828 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.841, allocations: 0.625 kB / 0.8828 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001999/0.8412, allocations: 101.6 kB / 0.8829 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.8412, allocations: 4 kB / 0.8829 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.8412, allocations: 0 / 0.8829 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8412, allocations: 0 / 0.8829 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.8414, allocations: 31.92 kB / 0.8829 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.8414, allocations: 10.12 kB / 0.8829 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.8414, allocations: 11.83 kB / 0.8829 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.8414, allocations: 7.984 kB / 0.8829 GB, free: 8.684 MB / 0.6544 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.0001016/0.8415, allocations: 121.8 kB / 0.8831 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.8416, allocations: 4 kB / 0.8831 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.8421, allocations: 377.3 kB / 0.8834 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/0.8421, allocations: 3.938 kB / 0.8834 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8421, allocations: 0 / 0.8834 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8421, allocations: 7.922 kB / 0.8834 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.8424, allocations: 256.6 kB / 0.8837 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8424, allocations: 0 / 0.8837 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.8425, allocations: 19.98 kB / 0.8837 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.8425, allocations: 4.188 kB / 0.8837 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.8426, allocations: 8 kB / 0.8837 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8426, allocations: 0 / 0.8837 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8426, allocations: 0 / 0.8837 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.843, allocations: 342.9 kB / 0.884 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.843, allocations: 39.75 kB / 0.8841 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.843, allocations: 0 / 0.8841 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.8432, allocations: 12.5 kB / 0.8841 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.8432, allocations: 11.97 kB / 0.8841 GB, free: 7.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.8432, allocations: 7.938 kB / 0.8841 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.8433, allocations: 83.28 kB / 0.8842 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8433, allocations: 0 / 0.8842 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009675/0.8442, allocations: 303.7 kB / 0.8845 GB, free: 7.039 MB / 0.6544 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.002083/0.8463, allocations: 1.166 MB / 0.8856 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.8466, allocations: 126 kB / 0.8857 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8466, allocations: 0 / 0.8857 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.8468, allocations: 88.61 kB / 0.8858 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.8471, allocations: 25.48 kB / 0.8858 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.8482, allocations: 430.6 kB / 0.8863 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.8486, allocations: 0.721 MB / 0.887 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.8488, allocations: 25.28 kB / 0.887 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.8488, allocations: 39.42 kB / 0.887 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.8488, allocations: 0 / 0.887 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04435/0.8932, allocations: 12 MB / 0.8987 GB, free: 8.492 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.91, allocations: 4.562 kB / 0.8987 GB, free: 8.492 MB / 0.67 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 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: 17.043371065999963] Failed to read output from testmodel.py, exit status != 0: 13.026992524002708 13.048797155 12.220257094 Calling exit ...