Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.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.001068/0.001068, allocations: 190 kB / 382.3 MB, free: 14.83 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.569/1.569, allocations: 225.7 MB / 0.6617 GB, free: 7.23 MB / 490.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.0007681/0.0007683, allocations: 98.12 kB / 0.7789 GB, free: 46.76 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003588, allocations: 8 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6807/0.6811, allocations: 119.2 MB / 1.022 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.2982/0.9793, allocations: 247.1 MB / 1.264 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03399/1.013, allocations: 23 MB / 1.286 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004343/1.018, allocations: 67.56 kB / 1.286 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.004079/1.022, allocations: 0.9131 MB / 1.287 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01383/1.036, allocations: 3.57 MB / 1.29 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006399/1.042, allocations: 1.644 MB / 1.292 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.054, allocations: 6.772 MB / 1.299 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/1.058, allocations: 1.497 MB / 1.3 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/1.064, allocations: 1.879 MB / 1.302 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/1.069, allocations: 1.481 MB / 1.303 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0008879/1.07, allocations: 68 kB / 1.303 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008101/1.078, allocations: 2.65 MB / 1.306 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001588/1.08, allocations: 466.1 kB / 1.307 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003247/1.083, allocations: 0.9848 MB / 1.307 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.008697/1.092, allocations: 3.637 MB / 1.311 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/1.092, allocations: 0 / 1.311 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.803e-06/1.092, allocations: 3.938 kB / 1.311 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001364/1.092, allocations: 0 / 1.311 GB, free: 5.961 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006293/1.098, allocations: 2.101 MB / 1.313 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.098, allocations: 8.031 kB / 1.313 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/1.101, allocations: 377.2 kB / 1.313 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004154/1.105, allocations: 1.406 MB / 1.315 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.105, allocations: 110.7 kB / 1.315 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/1.105, allocations: 136 kB / 1.315 GB, free: 1.723 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004016/1.109, allocations: 1.507 MB / 1.317 GB, free: 152 kB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/1.109, allocations: 3.938 kB / 1.317 GB, free: 148 kB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/1.11, allocations: 56 kB / 1.317 GB, free: 92 kB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.55e-05/1.11, allocations: 54.62 kB / 1.317 GB, free: 36 kB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002858/1.113, allocations: 1.15 MB / 1.318 GB, free: 14.88 MB / 0.9011 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.01243/1.125, allocations: 7.2 MB / 1.325 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.127, allocations: 0.8275 MB / 1.326 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008631/1.128, allocations: 443.9 kB / 1.326 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.129, allocations: 0.7279 MB / 1.327 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.129, allocations: 43.22 kB / 1.327 GB, free: 4.895 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=74): time 3.477e-06/1.129, allocations: 4 kB / 1.327 GB, free: 4.891 MB / 0.9011 GB Notification: Performance of matching and sorting (n=74): time 0.007097/1.136, allocations: 2.145 MB / 1.329 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/1.136, allocations: 68 kB / 1.329 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.139, allocations: 1.286 MB / 1.33 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.139, allocations: 45.7 kB / 1.33 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000796/1.14, allocations: 0.8054 MB / 1.331 GB, free: 448 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/1.14, allocations: 260.2 kB / 1.331 GB, free: 184 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/1.14, allocations: 16 kB / 1.331 GB, free: 168 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.5102/1.65, allocations: 337.9 kB / 1.332 GB, free: 255.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/1.651, allocations: 329.5 kB / 1.332 GB, free: 255.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009575/1.652, allocations: 0.5677 MB / 1.332 GB, free: 255.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/1.654, allocations: 0.8888 MB / 1.333 GB, free: 254.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.654, allocations: 0.8125 kB / 1.333 GB, free: 254.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002945/1.657, allocations: 1.27 MB / 1.335 GB, free: 254.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/1.657, allocations: 231.5 kB / 1.335 GB, free: 254.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.657, allocations: 8.719 kB / 1.335 GB, free: 254.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/1.659, allocations: 426.5 kB / 1.335 GB, free: 254 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006696/1.66, allocations: 163.7 kB / 1.335 GB, free: 254 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/1.661, allocations: 2.045 MB / 1.337 GB, free: 252.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.663, allocations: 192.2 kB / 1.338 GB, free: 252.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/1.663, allocations: 35.3 kB / 1.338 GB, free: 252.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.663, allocations: 4.031 kB / 1.338 GB, free: 252.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002039/1.665, allocations: 1.063 MB / 1.339 GB, free: 251.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.665, allocations: 10.95 kB / 1.339 GB, free: 251.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/1.666, allocations: 370.8 kB / 1.339 GB, free: 251.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/1.667, allocations: 161.4 kB / 1.339 GB, free: 251.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/1.67, allocations: 3.859 MB / 1.343 GB, free: 248.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.671, allocations: 170.8 kB / 1.343 GB, free: 248.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.671, allocations: 41.12 kB / 1.343 GB, free: 248.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,21), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008071/1.672, allocations: 473.6 kB / 1.344 GB, free: 247.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/1.672, allocations: 160.3 kB / 1.344 GB, free: 247.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/1.675, allocations: 1.202 MB / 1.345 GB, free: 247.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.675, allocations: 8.25 kB / 1.345 GB, free: 247.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.675, allocations: 0 / 1.345 GB, free: 247.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002188/1.677, allocations: 1.293 MB / 1.346 GB, free: 246.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004198/1.682, allocations: 2.778 MB / 1.349 GB, free: 245.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.682, allocations: 3.188 kB / 1.349 GB, free: 245.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/1.682, allocations: 102.6 kB / 1.349 GB, free: 245.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001439/1.683, allocations: 367.5 kB / 1.349 GB, free: 245.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/1.684, allocations: 17.88 kB / 1.349 GB, free: 245.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.685, allocations: 2.036 MB / 1.351 GB, free: 243.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.685, allocations: 10.11 kB / 1.351 GB, free: 243.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/1.687, allocations: 1.213 MB / 1.353 GB, free: 242.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006176/1.687, allocations: 342 kB / 1.353 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/1.687, allocations: 13.19 kB / 1.353 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/1.688, allocations: 126.4 kB / 1.353 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/1.689, allocations: 54.42 kB / 1.353 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/1.689, allocations: 30.38 kB / 1.353 GB, free: 242.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00118/1.69, allocations: 0.8724 MB / 1.354 GB, free: 242.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.31e-07/1.69, allocations: 0 / 1.354 GB, free: 242.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002361/1.692, allocations: 0.9028 MB / 1.355 GB, free: 242 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,20), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007097/1.693, allocations: 388.1 kB / 1.355 GB, free: 241.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003051/1.696, allocations: 1.671 MB / 1.357 GB, free: 241.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/1.696, allocations: 2.062 kB / 1.357 GB, free: 241.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008962/1.697, allocations: 478.6 kB / 1.357 GB, free: 241 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/1.701, allocations: 0.7957 MB / 1.358 GB, free: 240.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/1.704, allocations: 3.347 MB / 1.361 GB, free: 238.8 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/1.705, allocations: 1.343 MB / 1.363 GB, free: 238 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001259/1.706, allocations: 326.4 kB / 1.363 GB, free: 238 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/1.706, allocations: 96.7 kB / 1.363 GB, free: 238 MB / 0.9011 GB Notification: Performance of SimCode: time 3.8e-07/1.706, allocations: 3.219 kB / 1.363 GB, free: 238 MB / 0.9011 GB Notification: Performance of Templates: time 0.04736/1.754, allocations: 31.06 MB / 1.393 GB, free: 235.8 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)