Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.834/1.834, allocations: 306.1 MB / 321.4 MB, free: 10.8 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.001073/0.001073, allocations: 190.7 kB / 393.1 MB, free: 4.121 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.332/1.332, allocations: 225.7 MB / 0.6743 GB, free: 12.55 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.0009798/0.0009799, allocations: 90 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003447, allocations: 16.62 kB / 0.9224 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6213/0.6216, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.9141/1.536, allocations: 300 MB / 1.334 GB, free: 83.2 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.06791/1.604, allocations: 67.66 MB / 1.4 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01133/1.615, allocations: 251.9 kB / 1.4 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.01131/1.626, allocations: 2.775 MB / 1.403 GB, free: 58.34 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.03214/1.659, allocations: 8.359 MB / 1.411 GB, free: 57.98 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.02589/1.685, allocations: 6.01 MB / 1.417 GB, free: 57.77 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0475/1.732, allocations: 24.5 MB / 1.441 GB, free: 55.43 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/1.746, allocations: 4.692 MB / 1.445 GB, free: 53.96 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0192/1.765, allocations: 6.357 MB / 1.452 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/1.776, allocations: 4.883 MB / 1.456 GB, free: 50.3 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.003261/1.779, allocations: 233.5 kB / 1.457 GB, free: 50.3 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.793, allocations: 3.697 MB / 1.46 GB, free: 49.29 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.003292/1.796, allocations: 1.091 MB / 1.461 GB, free: 48.77 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.008572/1.805, allocations: 3.324 MB / 1.465 GB, free: 47.49 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02113/1.826, allocations: 9.917 MB / 1.474 GB, free: 42.51 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.826, allocations: 0 / 1.474 GB, free: 42.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.384e-06/1.826, allocations: 0 / 1.474 GB, free: 42.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005032/1.827, allocations: 0 / 1.474 GB, free: 42.51 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: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01277/1.84, allocations: 6.18 MB / 1.48 GB, free: 36.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.84, allocations: 12.03 kB / 1.48 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/1.843, allocations: 0.7837 MB / 1.481 GB, free: 36.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.853, allocations: 5.168 MB / 1.486 GB, free: 32.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/1.854, allocations: 321.1 kB / 1.486 GB, free: 32.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/1.855, allocations: 437.7 kB / 1.487 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00943/1.864, allocations: 4.352 MB / 1.491 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/1.864, allocations: 11.88 kB / 1.491 GB, free: 28.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006594/1.865, allocations: 176.7 kB / 1.491 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.865, allocations: 116.2 kB / 1.491 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005626/1.871, allocations: 2.941 MB / 1.494 GB, free: 26.6 MB / 0.8855 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.02637/1.897, allocations: 25.05 MB / 1.519 GB, free: 0.8438 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/1.9, allocations: 2.751 MB / 1.521 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/1.902, allocations: 0.9932 MB / 1.522 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002919/1.905, allocations: 3.921 MB / 1.526 GB, free: 8.121 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/1.905, allocations: 68.5 kB / 1.526 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=217): time 4.528e-06/1.905, allocations: 0 / 1.526 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of matching and sorting (n=217): time 0.01086/1.916, allocations: 4.087 MB / 1.53 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.916, allocations: 77.41 kB / 1.53 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009548/1.925, allocations: 4.16 MB / 1.534 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005893/1.926, allocations: 81.7 kB / 1.534 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002558/1.928, allocations: 2.768 MB / 1.537 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.929, allocations: 0.7661 MB / 1.538 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/1.93, allocations: 60 kB / 1.538 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000284/1.93, allocations: 419.9 kB / 1.538 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/1.932, allocations: 0.7982 MB / 1.539 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/1.934, allocations: 1.822 MB / 1.541 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/1.938, allocations: 2.513 MB / 1.543 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.132e-05/1.938, allocations: 8 kB / 1.543 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008372/1.946, allocations: 3.55 MB / 1.547 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005167/1.947, allocations: 0.7407 MB / 1.548 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/1.947, allocations: 28 kB / 1.548 GB, free: 0.9648 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/1.95, allocations: 0.5817 MB / 1.548 GB, free: 384 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.952, allocations: 0.5577 MB / 1.549 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/1.954, allocations: 2.689 MB / 1.551 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/1.959, allocations: 0.6181 MB / 1.552 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/1.959, allocations: 136 kB / 1.552 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/1.959, allocations: 7.938 kB / 1.552 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006571/1.966, allocations: 2.802 MB / 1.555 GB, free: 9.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/1.966, allocations: 20 kB / 1.555 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.967, allocations: 363.8 kB / 1.555 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.969, allocations: 0.5577 MB / 1.556 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009337/1.978, allocations: 7.703 MB / 1.563 GB, free: 192 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005539/1.984, allocations: 0.5812 MB / 1.564 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/1.984, allocations: 132 kB / 1.564 GB, free: 15.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003044/1.988, allocations: 1.001 MB / 1.565 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001629/1.989, allocations: 0.5056 MB / 1.565 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007171/1.996, allocations: 3.562 MB / 1.569 GB, free: 10.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/1.996, allocations: 43.97 kB / 1.569 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.996, allocations: 0 / 1.569 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/2, allocations: 2.434 MB / 1.571 GB, free: 7.812 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.01575/2.016, allocations: 8.2 MB / 1.579 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/2.016, allocations: 0 / 1.579 GB, free: 15.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/2.018, allocations: 367.6 kB / 1.58 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007379/2.018, allocations: 298.6 kB / 1.58 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/2.018, allocations: 63.97 kB / 1.58 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/2.02, allocations: 2.498 MB / 1.582 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.02, allocations: 4.188 kB / 1.582 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007304/2.027, allocations: 4.328 MB / 1.587 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/2.03, allocations: 0.9778 MB / 1.588 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/2.032, allocations: 40 kB / 1.588 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004885/2.037, allocations: 427.2 kB / 1.588 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/2.037, allocations: 153.8 kB / 1.588 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004954/2.038, allocations: 107.9 kB / 1.588 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.006685/2.044, allocations: 2.737 MB / 1.591 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.21e-07/2.044, allocations: 0 / 1.591 GB, free: 3.254 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01485/2.059, allocations: 3.265 MB / 1.594 GB, free: 15.98 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004978/2.064, allocations: 1.512 MB / 1.596 GB, free: 14.59 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01034/2.075, allocations: 4.412 MB / 1.6 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.075, allocations: 1.328 kB / 1.6 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/2.077, allocations: 1.236 MB / 1.601 GB, free: 8.887 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01678/2.094, allocations: 2.684 MB / 1.604 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/2.117, allocations: 11.51 MB / 1.615 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/2.121, allocations: 2.861 MB / 1.618 GB, free: 7.812 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005582/2.126, allocations: 1.153 MB / 1.619 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/2.127, allocations: 419.2 kB / 1.619 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of SimCode: time 1.282e-06/2.127, allocations: 4 kB / 1.619 GB, free: 6.238 MB / 0.9948 GB Notification: Performance of Templates: time 0.654/2.781, allocations: 104 MB / 1.721 GB, free: 419.5 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)