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.0018/0.0018, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.002341/0.002341, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.629/1.629, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.057/1.057, allocations: 150 MB / 460.2 MB, free: 5.273 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",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.001998/0.001998, allocations: 68.22 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1917, allocations: 89.13 MB / 0.7238 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1859/0.3776, allocations: 138.8 MB / 0.8594 GB, free: 8.695 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3905, allocations: 8.006 MB / 0.8672 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.3906, allocations: 0 / 0.8672 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.3908, allocations: 27.83 kB / 0.8672 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.02e-05/0.3909, allocations: 23.84 kB / 0.8672 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.5/0.8908, allocations: 1.462 MB / 0.8687 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.8911, allocations: 73.52 kB / 0.8687 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.8911, allocations: 7.984 kB / 0.8687 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.8913, allocations: 46.66 kB / 0.8688 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.8914, allocations: 35.02 kB / 0.8688 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.8914, allocations: 3.594 kB / 0.8688 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00645/0.8978, allocations: 2.713 MB / 0.8715 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.8979, allocations: 18.34 kB / 0.8715 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.898, allocations: 27.16 kB / 0.8715 GB, free: 3.469 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.9012, allocations: 1.392 MB / 0.8729 GB, free: 3.445 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.9012, allocations: 2.938 kB / 0.8729 GB, free: 3.445 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9012, allocations: 0 / 0.8729 GB, free: 3.445 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.9013, allocations: 1.203 kB / 0.8729 GB, free: 3.445 MB / 0.67 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.001517/0.9028, allocations: 0.5053 MB / 0.8734 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.9028, allocations: 10.58 kB / 0.8734 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.175e-05/0.9029, allocations: 3.906 kB / 0.8734 GB, free: 19.03 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.9029, allocations: 38.66 kB / 0.8734 GB, free: 18.99 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.9033, allocations: 24.97 kB / 0.8734 GB, free: 18.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.9034, allocations: 171.6 kB / 0.8736 GB, free: 18.79 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.9035, allocations: 33.84 kB / 0.8736 GB, free: 18.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.9035, allocations: 10.03 kB / 0.8737 GB, free: 18.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.9039, allocations: 118.5 kB / 0.8738 GB, free: 18.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.9039, allocations: 0.7812 kB / 0.8738 GB, free: 18.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.9039, allocations: 3.875 kB / 0.8738 GB, free: 18.72 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.9039, allocations: 3.844 kB / 0.8738 GB, free: 18.72 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.9042, allocations: 120.9 kB / 0.8739 GB, free: 18.71 MB / 0.6856 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.0005431/0.9048, allocations: 378.6 kB / 0.8742 GB, free: 18.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.905, allocations: 115.7 kB / 0.8744 GB, free: 18.36 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.9051, allocations: 49.48 kB / 0.8744 GB, free: 18.35 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/0.9184, allocations: 4.674 MB / 0.879 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.9185, allocations: 36.56 kB / 0.879 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 2.284e-06/0.9185, allocations: 0 / 0.879 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0006002/0.9191, allocations: 166.8 kB / 0.8792 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.9191, allocations: 52.47 kB / 0.8792 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.9192, allocations: 102.6 kB / 0.8793 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.9192, allocations: 29.48 kB / 0.8793 GB, free: 16.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.9193, allocations: 93.17 kB / 0.8794 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.9193, allocations: 43.09 kB / 0.8795 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.9194, allocations: 28.72 kB / 0.8795 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9195, allocations: 323.9 kB / 0.8798 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.9196, allocations: 22.64 kB / 0.8798 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/0.9196, allocations: 29.03 kB / 0.8799 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.9197, allocations: 69.42 kB / 0.8799 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9197, allocations: 1 kB / 0.8799 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001971/0.9199, allocations: 111.2 kB / 0.88 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.92, allocations: 5.5 kB / 0.88 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.92, allocations: 3.188 kB / 0.88 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.92, allocations: 1.953 kB / 0.88 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.9201, allocations: 24.09 kB / 0.8801 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9201, allocations: 4.203 kB / 0.8801 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/0.9202, allocations: 13.98 kB / 0.8801 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.9202, allocations: 2.562 kB / 0.8801 GB, free: 15.52 MB / 0.6856 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.0001009/0.9203, allocations: 119.2 kB / 0.8802 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.9204, allocations: 4.562 kB / 0.8802 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005395/0.9209, allocations: 369.9 kB / 0.8806 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.9209, allocations: 9.125 kB / 0.8806 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.9209, allocations: 1.781 kB / 0.8806 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.9209, allocations: 3.938 kB / 0.8806 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.9213, allocations: 274.8 kB / 0.8808 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9213, allocations: 6.469 kB / 0.8808 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.9214, allocations: 20.34 kB / 0.8809 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.9214, allocations: 7.375 kB / 0.8809 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.9214, allocations: 5.562 kB / 0.8809 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9214, allocations: 1.125 kB / 0.8809 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9214, allocations: 2.75 kB / 0.8809 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.9218, allocations: 333.1 kB / 0.8812 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.9219, allocations: 111.5 kB / 0.8813 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.9219, allocations: 2.438 kB / 0.8813 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.922, allocations: 9.469 kB / 0.8813 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.9221, allocations: 9.375 kB / 0.8813 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.9221, allocations: 11.84 kB / 0.8813 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.955e-05/0.9221, allocations: 81.36 kB / 0.8814 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9221, allocations: 0 / 0.8814 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002093/0.9242, allocations: 301.4 kB / 0.8817 GB, free: 14.77 MB / 0.6856 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.002991/0.9272, allocations: 1.163 MB / 0.8828 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.9276, allocations: 121.9 kB / 0.8829 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9276, allocations: 1.406 kB / 0.8829 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.9278, allocations: 86.91 kB / 0.883 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.9281, allocations: 27.89 kB / 0.8831 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.9295, allocations: 435.7 kB / 0.8835 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.9298, allocations: 0.7207 MB / 0.8842 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.93, allocations: 32.23 kB / 0.8842 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.93, allocations: 40.48 kB / 0.8842 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of SimCode: time 4.2e-07/0.93, allocations: 1 kB / 0.8842 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.9658, allocations: 11.75 MB / 0.8957 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.711/9.677, allocations: 20.78 kB / 0.8957 GB, free: 12.31 MB / 0.6856 GB " [Timeout remaining time 650] (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: 14.015188410994597] Failed to read output from testmodel.py, exit status != 0: 9.8130962169962 9.829949161 8.925302424 Calling exit ...