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.00178/0.00178, 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.00205/0.00205, allocations: 222.2 kB / 23.01 MB, free: 5.043 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9833/0.9833, allocations: 150 MB / 463.2 MB, free: 10.44 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.002273/0.002273, allocations: 68.61 kB / 0.6412 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1766, allocations: 89.17 MB / 0.7283 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5391/0.7157, allocations: 138.8 MB / 0.8639 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.7258, allocations: 8.047 MB / 0.8718 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.7259, allocations: 0 / 0.8718 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.726, allocations: 28.2 kB / 0.8718 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.7261, allocations: 22.84 kB / 0.8718 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.73, allocations: 1.482 MB / 0.8733 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.7301, allocations: 71.66 kB / 0.8733 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.7302, allocations: 4 kB / 0.8733 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.7303, allocations: 51.77 kB / 0.8734 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.7304, allocations: 31.91 kB / 0.8734 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.7304, allocations: 0 / 0.8734 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004934/0.7353, allocations: 2.725 MB / 0.8761 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.7354, allocations: 15.92 kB / 0.8761 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.7354, allocations: 27.86 kB / 0.8761 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.7376, allocations: 1.396 MB / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7376, allocations: 0 / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7376, allocations: 0 / 0.8775 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7376, 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.0009526/0.7386, allocations: 437.2 kB / 0.8779 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7386, allocations: 8.031 kB / 0.8779 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.7386, allocations: 38.75 kB / 0.8779 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003423/0.739, allocations: 24.86 kB / 0.878 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.7391, allocations: 114.5 kB / 0.8781 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.7392, allocations: 59.97 kB / 0.8781 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.7392, allocations: 11.94 kB / 0.8781 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.7395, allocations: 122.9 kB / 0.8783 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7396, allocations: 3.938 kB / 0.8783 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.7396, allocations: 0 / 0.8783 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7396, allocations: 4 kB / 0.8783 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.7399, allocations: 123.8 kB / 0.8784 GB, free: 13.5 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.0005402/0.7404, allocations: 348.4 kB / 0.8787 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.7407, allocations: 122.5 kB / 0.8788 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.7408, allocations: 44.83 kB / 0.8789 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01166/0.7524, allocations: 3.024 MB / 0.8818 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.7525, allocations: 38.56 kB / 0.8819 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.7525, allocations: 4 kB / 0.8819 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0005524/0.753, allocations: 157.6 kB / 0.882 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.7531, allocations: 63.34 kB / 0.8821 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.374e-05/0.7532, allocations: 93.86 kB / 0.8822 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.7532, allocations: 29.7 kB / 0.8822 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.7533, allocations: 88.08 kB / 0.8823 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.7533, allocations: 43.62 kB / 0.8823 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.7534, allocations: 33.64 kB / 0.8823 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.7535, allocations: 326.8 kB / 0.8827 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.375e-05/0.7536, allocations: 27.98 kB / 0.8827 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/0.7536, allocations: 26.88 kB / 0.8827 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.7537, allocations: 68.84 kB / 0.8828 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.7537, allocations: 0.875 kB / 0.8828 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000195/0.7539, allocations: 109.6 kB / 0.8829 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.754, allocations: 4 kB / 0.8829 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.754, allocations: 0 / 0.8829 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.754, allocations: 4 kB / 0.8829 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.7541, allocations: 23.98 kB / 0.8829 GB, free: 8.719 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.7541, allocations: 4.641 kB / 0.8829 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.7542, allocations: 15.83 kB / 0.8829 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.7542, allocations: 8.484 kB / 0.8829 GB, free: 8.691 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 9.264e-05/0.7543, allocations: 113.8 kB / 0.8831 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.7543, allocations: 4 kB / 0.8831 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.7548, allocations: 382.1 kB / 0.8834 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.7548, allocations: 4 kB / 0.8834 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.7548, allocations: 4 kB / 0.8834 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7548, allocations: 11.92 kB / 0.8834 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.7551, allocations: 250.1 kB / 0.8837 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7551, allocations: 0 / 0.8837 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.7552, allocations: 19.98 kB / 0.8837 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7552, allocations: 0 / 0.8837 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7552, allocations: 8 kB / 0.8837 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7552, allocations: 0 / 0.8837 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7552, allocations: 3.938 kB / 0.8837 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.7557, allocations: 343 kB / 0.884 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.7557, allocations: 35.69 kB / 0.8841 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.7558, allocations: 4 kB / 0.8841 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.7559, allocations: 4.562 kB / 0.8841 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.7559, allocations: 11.97 kB / 0.8841 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.756, allocations: 11.94 kB / 0.8841 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.082e-05/0.756, allocations: 79.28 kB / 0.8842 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.756, allocations: 0 / 0.8842 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008977/0.7569, allocations: 307.7 kB / 0.8845 GB, free: 7.055 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.001937/0.7588, allocations: 1.165 MB / 0.8856 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.7591, allocations: 132.6 kB / 0.8857 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7591, allocations: 0 / 0.8857 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.7592, allocations: 83.97 kB / 0.8858 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.7595, allocations: 30.81 kB / 0.8858 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.7605, allocations: 441.6 kB / 0.8863 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.7609, allocations: 0.7093 MB / 0.887 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.7611, allocations: 29.97 kB / 0.887 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.7612, allocations: 39.42 kB / 0.887 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.7612, allocations: 0 / 0.887 GB, free: 4.355 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04934/0.8105, allocations: 12 MB / 0.8987 GB, free: 8.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.58, allocations: 0 / 0.8987 GB, free: 8.5 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 & /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.397924148943275] Failed to read output from testmodel.py, exit status != 0: 12.690516099799424 12.720592469 11.977623164 Calling exit ...