Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008548/0.0008548, allocations: 186.3 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.444/0.444, allocations: 89.08 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 225.7 MB / 353.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007413/0.0007413, allocations: 96.64 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002971, allocations: 11.98 kB / 0.4955 GB, free: 4.535 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2838, allocations: 71.32 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1199/0.4038, allocations: 124.6 MB / 0.6868 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.4142, allocations: 10.15 MB / 0.6968 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.4143, allocations: 0 / 0.6968 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.4145, allocations: 15.91 kB / 0.6968 GB, free: 2.586 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.4146, allocations: 23.84 kB / 0.6968 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.4177, allocations: 1.155 MB / 0.6979 GB, free: 1.406 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.4178, allocations: 75.64 kB / 0.698 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.4179, allocations: 0 / 0.698 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.418, allocations: 43.84 kB / 0.698 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.041e-05/0.4181, allocations: 31.91 kB / 0.6981 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4181, allocations: 4 kB / 0.6981 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2521/0.6702, allocations: 2.545 MB / 0.7006 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.399e-05/0.6703, allocations: 18.27 kB / 0.7006 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.6703, allocations: 57.91 kB / 0.7006 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.6731, allocations: 1.37 MB / 0.702 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6732, allocations: 0 / 0.702 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6732, allocations: 0.625 kB / 0.702 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6732, allocations: 0 / 0.702 GB, free: 6.777 MB / 0.4948 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.001216/0.6744, allocations: 487.2 kB / 0.7024 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.6744, allocations: 9.031 kB / 0.7024 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.6748, allocations: 25.8 kB / 0.7025 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.913e-05/0.6749, allocations: 175.6 kB / 0.7026 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.6749, allocations: 37.31 kB / 0.7027 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.675, allocations: 4.125 kB / 0.7027 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.6753, allocations: 122 kB / 0.7028 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6753, allocations: 0.6562 kB / 0.7028 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6753, allocations: 4.5 kB / 0.7028 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6753, allocations: 5.5 kB / 0.7028 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.6756, allocations: 117.5 kB / 0.7029 GB, free: 6.113 MB / 0.4948 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.0003608/0.676, allocations: 379.5 kB / 0.7033 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.6762, allocations: 125.5 kB / 0.7034 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.6763, allocations: 62.33 kB / 0.7034 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009365/0.6856, allocations: 4.245 MB / 0.7076 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.6857, allocations: 38.25 kB / 0.7076 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.6857, allocations: 0 / 0.7076 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0003934/0.6861, allocations: 163 kB / 0.7078 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.6861, allocations: 51.41 kB / 0.7078 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.357e-05/0.6862, allocations: 102.1 kB / 0.7079 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.6862, allocations: 28.02 kB / 0.708 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.6862, allocations: 84.92 kB / 0.708 GB, free: 3.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.6863, allocations: 42.14 kB / 0.7081 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.6863, allocations: 2.312 kB / 0.7081 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.6863, allocations: 327 kB / 0.7084 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.6864, allocations: 26.73 kB / 0.7084 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.6864, allocations: 24.03 kB / 0.7084 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.6865, allocations: 68.53 kB / 0.7085 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6865, allocations: 0 / 0.7085 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000136/0.6866, allocations: 113.1 kB / 0.7086 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6867, allocations: 10.12 kB / 0.7086 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.6867, allocations: 0 / 0.7086 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6867, allocations: 0 / 0.7086 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6868, allocations: 28.23 kB / 0.7087 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6868, allocations: 0 / 0.7087 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.6869, allocations: 12.59 kB / 0.7087 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.6869, allocations: 4.938 kB / 0.7087 GB, free: 3.176 MB / 0.4948 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 5.207e-05/0.6869, allocations: 116.4 kB / 0.7088 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.687, allocations: 7.438 kB / 0.7088 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.6873, allocations: 370.8 kB / 0.7091 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6874, allocations: 6.453 kB / 0.7091 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6874, allocations: 0 / 0.7091 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6874, allocations: 3 kB / 0.7092 GB, free: 2.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.6876, allocations: 287.5 kB / 0.7094 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.6876, allocations: 0 / 0.7094 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.886e-05/0.6877, allocations: 24.39 kB / 0.7094 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.6877, allocations: 2.906 kB / 0.7095 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.6877, allocations: 10.08 kB / 0.7095 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6877, allocations: 0 / 0.7095 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6877, allocations: 0 / 0.7095 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.6879, allocations: 327.4 kB / 0.7098 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.688, allocations: 104.6 kB / 0.7099 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.688, allocations: 7.75 kB / 0.7099 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.6881, allocations: 5.094 kB / 0.7099 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.6882, allocations: 18.98 kB / 0.7099 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6882, allocations: 3.094 kB / 0.7099 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.6882, allocations: 81.55 kB / 0.71 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.6882, allocations: 0 / 0.71 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008934/0.6891, allocations: 306.8 kB / 0.7103 GB, free: 2.418 MB / 0.4948 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.001038/0.6902, allocations: 410.2 kB / 0.7107 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.6903, allocations: 121.9 kB / 0.7108 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6903, allocations: 0 / 0.7108 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.6904, allocations: 113.6 kB / 0.7109 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.6907, allocations: 19.42 kB / 0.7109 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.6911, allocations: 387.5 kB / 0.7113 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6915, allocations: 0.7128 MB / 0.712 GB, free: 17.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.326e-05/0.6916, allocations: 35.09 kB / 0.712 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.6916, allocations: 17.75 kB / 0.712 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.6916, allocations: 0 / 0.712 GB, free: 17.36 MB / 0.5105 GB Notification: Performance of Templates: time 0.012/0.7036, allocations: 9.728 MB / 0.7215 GB, free: 16.84 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)