Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.972/1.972, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 179.4 kB / 393.1 MB, free: 4.082 MB / 314.7 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.509/1.509, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008269/0.0008267, allocations: 97.53 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003497, allocations: 12 kB / 0.9224 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6705, allocations: 121.3 MB / 1.041 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1596/0.8302, allocations: 124.6 MB / 1.163 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.8445, allocations: 10.15 MB / 1.172 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.363e-05/0.8447, allocations: 1.062 kB / 1.172 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.8449, allocations: 18.36 kB / 1.172 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.403e-05/0.845, allocations: 17.91 kB / 1.172 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005335/0.8504, allocations: 1.155 MB / 1.174 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.8506, allocations: 66.38 kB / 1.174 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.8506, allocations: 14.7 kB / 1.174 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.8508, allocations: 43.83 kB / 1.174 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8509, allocations: 39.17 kB / 1.174 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.851, allocations: 3.844 kB / 1.174 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006734/0.8577, allocations: 2.546 MB / 1.176 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.8578, allocations: 15.5 kB / 1.176 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.212e-05/0.8579, allocations: 57.41 kB / 1.176 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.8633, allocations: 1.37 MB / 1.178 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8633, allocations: 0 / 1.178 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8633, allocations: 0 / 1.178 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8633, allocations: 0 / 1.178 GB, free: 5.922 MB / 0.7448 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.001996/0.8653, allocations: 487.6 kB / 1.178 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.8654, allocations: 12.03 kB / 1.178 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.8658, allocations: 22.8 kB / 1.178 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.866, allocations: 177.6 kB / 1.178 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.8661, allocations: 30.97 kB / 1.178 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.8661, allocations: 11.94 kB / 1.178 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004193/0.8665, allocations: 116.4 kB / 1.178 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.8665, allocations: 4 kB / 1.178 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.8666, allocations: 4 kB / 1.178 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8666, allocations: 0 / 1.178 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.8669, allocations: 112.3 kB / 1.179 GB, free: 4.945 MB / 0.7448 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.0006204/0.8675, allocations: 387.6 kB / 1.179 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.8678, allocations: 124.6 kB / 1.179 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.884e-05/0.8679, allocations: 54.09 kB / 1.179 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01264/0.8805, allocations: 4.252 MB / 1.183 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.8806, allocations: 35.22 kB / 1.183 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.975e-06/0.8807, allocations: 0 / 1.183 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0006421/0.8813, allocations: 162.8 kB / 1.183 GB, free: 428 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.8814, allocations: 55.34 kB / 1.184 GB, free: 360 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.169e-05/0.8815, allocations: 104.2 kB / 1.184 GB, free: 248 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.8815, allocations: 29.7 kB / 1.184 GB, free: 212 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.8816, allocations: 84.66 kB / 1.184 GB, free: 124 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.937e-05/0.8816, allocations: 39.69 kB / 1.184 GB, free: 88 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.8816, allocations: 4 kB / 1.184 GB, free: 84 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8818, allocations: 320.8 kB / 1.184 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.8818, allocations: 26.23 kB / 1.184 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.8819, allocations: 24.7 kB / 1.184 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.882, allocations: 72.89 kB / 1.184 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.882, allocations: 0 / 1.184 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002094/0.8822, allocations: 117.4 kB / 1.184 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.8823, allocations: 8.562 kB / 1.184 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8823, allocations: 0 / 1.184 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.8823, allocations: 0 / 1.184 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.8824, allocations: 28.11 kB / 1.184 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.8825, allocations: 0 / 1.184 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.708e-05/0.8825, allocations: 11.88 kB / 1.184 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.8826, allocations: 4.75 kB / 1.184 GB, free: 15.49 MB / 0.7605 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.831e-05/0.8827, allocations: 120.2 kB / 1.184 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.8827, allocations: 11.91 kB / 1.184 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.8832, allocations: 359.1 kB / 1.185 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.8833, allocations: 10.67 kB / 1.185 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8833, allocations: 0 / 1.185 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.8833, allocations: 8.531 kB / 1.185 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.8836, allocations: 286.3 kB / 1.185 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8836, allocations: 0 / 1.185 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.8837, allocations: 23.36 kB / 1.185 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.8838, allocations: 5.078 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.8838, allocations: 4 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.8838, allocations: 4.641 kB / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8838, allocations: 0 / 1.185 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.8842, allocations: 333.4 kB / 1.185 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.8843, allocations: 99.23 kB / 1.186 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.8843, allocations: 8.609 kB / 1.186 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.8845, allocations: 6.109 kB / 1.186 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.8845, allocations: 7.234 kB / 1.186 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.8845, allocations: 13.48 kB / 1.186 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.8846, allocations: 80.67 kB / 1.186 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2e-07/0.8846, allocations: 0 / 1.186 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001676/0.8863, allocations: 300.9 kB / 1.186 GB, free: 13.85 MB / 0.7605 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.002523/0.8888, allocations: 408 kB / 1.186 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.8891, allocations: 120 kB / 1.186 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8891, allocations: 4 kB / 1.186 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.8892, allocations: 114.5 kB / 1.187 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.8896, allocations: 19.31 kB / 1.187 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.8902, allocations: 391.4 kB / 1.187 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.8905, allocations: 0.7185 MB / 1.188 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.8907, allocations: 33.3 kB / 1.188 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.8907, allocations: 12.52 kB / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.8907, allocations: 0 / 1.188 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.01793/0.9087, allocations: 9.719 MB / 1.197 GB, free: 4.68 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)