Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01015/0.01015, allocations: 222 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001105/0.001105, allocations: 181.1 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.457/3.457, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.786/3.786, allocations: 472.3 MB / 0.9018 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004704, allocations: 12 kB / 1.008 GB, free: 177 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 98.72 MB / 1.104 GB, free: 80.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06832/0.1956, allocations: 73.63 MB / 1.176 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4899/0.6855, allocations: 20.69 MB / 1.196 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.6893, allocations: 94.22 kB / 1.196 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003558/0.6929, allocations: 1.138 MB / 1.197 GB, free: 22.23 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0108/0.7037, allocations: 3.297 MB / 1.201 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01346/0.7172, allocations: 3.942 MB / 1.204 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0325/0.7497, allocations: 30.02 MB / 1.234 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01968/0.7694, allocations: 12.9 MB / 1.246 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01709/0.7865, allocations: 8.901 MB / 1.255 GB, free: 5.684 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02111/0.8077, allocations: 10.73 MB / 1.265 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.003099/0.8108, allocations: 0.8125 MB / 1.266 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008493/0.8193, allocations: 1.786 MB / 1.268 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.005341/0.8247, allocations: 2.953 MB / 1.271 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004669/0.8294, allocations: 1.829 MB / 1.273 GB, free: 4.641 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0207/0.8501, allocations: 13.9 MB / 1.286 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.8502, allocations: 0 / 1.286 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.442e-06/0.8502, allocations: 3.938 kB / 1.286 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002861/0.8505, allocations: 0 / 1.286 GB, free: 7.238 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1415 * Number of variables: 1415 Notification: Performance of Generate backend data structure: time 0.03703/0.8875, allocations: 13.06 MB / 1.299 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8876, allocations: 12.03 kB / 1.299 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007115/0.8947, allocations: 1.276 MB / 1.3 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/0.9203, allocations: 9.647 MB / 1.31 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005161/0.9208, allocations: 440.1 kB / 1.31 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/0.9233, allocations: 0.5819 MB / 1.311 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.9573, allocations: 14.67 MB / 1.325 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.9575, allocations: 19.78 kB / 1.325 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001545/0.9591, allocations: 240 kB / 1.325 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.9592, allocations: 147.9 kB / 1.325 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04184/1.001, allocations: 19.87 MB / 1.345 GB, free: 11.2 MB / 0.698 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.1397/1.141, allocations: 66.6 MB / 1.41 GB, free: 7.555 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01876/1.16, allocations: 9.317 MB / 1.419 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01656/1.176, allocations: 8.669 MB / 1.427 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07128/1.248, allocations: 30.97 MB / 1.458 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01512/1.263, allocations: 7.893 MB / 1.465 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03645/1.299, allocations: 11.76 MB / 1.477 GB, free: 2.746 MB / 0.823 GB Notification: Performance of pre-optimization done (n=299): time 1.838e-05/1.299, allocations: 3.938 kB / 1.477 GB, free: 2.742 MB / 0.823 GB Notification: Performance of matching and sorting (n=299): time 1.036/2.335, allocations: 24.43 MB / 1.501 GB, free: 289.6 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/2.335, allocations: 137.3 kB / 1.501 GB, free: 289.5 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01699/2.352, allocations: 8.08 MB / 1.509 GB, free: 287.1 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.001783/2.354, allocations: 101.1 kB / 1.509 GB, free: 287 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.004476/2.359, allocations: 4.066 MB / 1.513 GB, free: 284.8 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002708/2.361, allocations: 1.072 MB / 1.514 GB, free: 284 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009743/2.362, allocations: 91.94 kB / 1.514 GB, free: 283.9 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0003563/2.363, allocations: 493.1 kB / 1.514 GB, free: 283.5 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01361/2.376, allocations: 6.543 MB / 1.521 GB, free: 281.1 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/2.392, allocations: 8.404 MB / 1.529 GB, free: 276.4 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01564/2.407, allocations: 7.435 MB / 1.536 GB, free: 273.5 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.767e-05/2.407, allocations: 14.69 kB / 1.536 GB, free: 273.5 MB / 0.8387 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.0432/2.451, allocations: 17.57 MB / 1.553 GB, free: 265.2 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007481/2.451, allocations: 1.56 MB / 1.555 GB, free: 263.1 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.208e-05/2.452, allocations: 44.38 kB / 1.555 GB, free: 263.1 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08896/2.541, allocations: 11.51 MB / 1.566 GB, free: 257.2 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009439/2.55, allocations: 1.561 MB / 1.568 GB, free: 255.6 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/2.561, allocations: 7.029 MB / 1.575 GB, free: 248.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/2.574, allocations: 0.5967 MB / 1.575 GB, free: 247.8 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002143/2.576, allocations: 0.5479 MB / 1.576 GB, free: 247.3 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/2.576, allocations: 4 kB / 1.576 GB, free: 247.3 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03281/2.609, allocations: 16.51 MB / 1.592 GB, free: 230.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.576e-05/2.609, allocations: 44 kB / 1.592 GB, free: 230.7 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07426/2.683, allocations: 11.03 MB / 1.603 GB, free: 219.7 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009267/2.692, allocations: 1.551 MB / 1.604 GB, free: 218.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/2.709, allocations: 11.25 MB / 1.615 GB, free: 206.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.721, allocations: 0.5715 MB / 1.616 GB, free: 205.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/2.723, allocations: 0.5343 MB / 1.616 GB, free: 205.3 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.006732/2.73, allocations: 2.642 MB / 1.619 GB, free: 202.7 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002555/2.733, allocations: 0.7448 MB / 1.62 GB, free: 201.9 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03303/2.766, allocations: 14.35 MB / 1.634 GB, free: 187.5 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/2.766, allocations: 32 kB / 1.634 GB, free: 187.5 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/2.766, allocations: 3.953 kB / 1.634 GB, free: 187.5 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02204/2.788, allocations: 10.92 MB / 1.644 GB, free: 176.5 MB / 0.8387 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.04313/2.831, allocations: 24.88 MB / 1.669 GB, free: 151.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/2.831, allocations: 0 / 1.669 GB, free: 151.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006221/2.837, allocations: 0.7001 MB / 1.669 GB, free: 150.9 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08044/2.918, allocations: 10.33 MB / 1.679 GB, free: 140.6 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001104/2.919, allocations: 103.9 kB / 1.679 GB, free: 140.5 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006252/2.925, allocations: 4.936 MB / 1.684 GB, free: 135.3 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.77e-06/2.925, allocations: 0 / 1.684 GB, free: 135.3 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03455/2.96, allocations: 19.47 MB / 1.703 GB, free: 115.8 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00607/2.966, allocations: 1.986 MB / 1.705 GB, free: 113.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002421/2.968, allocations: 75.98 kB / 1.705 GB, free: 113.7 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007918/2.976, allocations: 450.8 kB / 1.706 GB, free: 113.2 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.977, allocations: 222.4 kB / 1.706 GB, free: 113 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007559/2.978, allocations: 155.9 kB / 1.706 GB, free: 112.9 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.009552/2.988, allocations: 5.561 MB / 1.712 GB, free: 107.3 MB / 0.8387 GB Notification: Performance of sort global known variables: time 9e-07/2.988, allocations: 0 / 1.712 GB, free: 107.3 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.01785/3.006, allocations: 4.988 MB / 1.716 GB, free: 102.4 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/3.008, allocations: 0.5723 MB / 1.717 GB, free: 101.9 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.04551/3.053, allocations: 24.61 MB / 1.741 GB, free: 77.18 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/3.053, allocations: 1 kB / 1.741 GB, free: 77.18 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/3.065, allocations: 6.462 MB / 1.747 GB, free: 70.71 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02775/3.092, allocations: 5.057 MB / 1.752 GB, free: 65.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/3.129, allocations: 23.06 MB / 1.775 GB, free: 42.71 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/3.135, allocations: 5.359 MB / 1.78 GB, free: 37.31 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.02216/3.157, allocations: 5.074 MB / 1.785 GB, free: 32.23 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006255/3.163, allocations: 0.9203 MB / 1.786 GB, free: 31.31 MB / 0.8387 GB Notification: Performance of SimCode: time 1.643e-06/3.163, allocations: 0 / 1.786 GB, free: 31.31 MB / 0.8387 GB Notification: Performance of Templates: time 0.8644/4.028, allocations: 219 MB / 2 GB, free: 130.7 MB / 0.8387 GB