Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 4.031/4.031, allocations: 432.7 MB / 445.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.644e-05, allocations: 8.828 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1731, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.225, allocations: 406 MB / 1.031 GB, free: 4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.226, allocations: 83.11 kB / 1.031 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.048/8.274, allocations: 1.449 GB / 2.48 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.116e-06/8.274, allocations: 2.969 kB / 2.48 GB, free: 106.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0009971/8.275, allocations: 157.2 kB / 2.48 GB, free: 106.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 832 * Number of variables: 832 Notification: Performance of Generate backend data structure: time 0.01523/8.29, allocations: 4.56 MB / 2.484 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/8.29, allocations: 6.719 kB / 2.484 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006028/8.296, allocations: 0.8464 MB / 2.485 GB, free: 104.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02212/8.318, allocations: 6.788 MB / 2.492 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/8.319, allocations: 268.2 kB / 2.492 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/8.32, allocations: 354.8 kB / 2.493 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/8.333, allocations: 5.276 MB / 2.498 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/8.333, allocations: 13.81 kB / 2.498 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008369/8.334, allocations: 142.7 kB / 2.498 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/8.334, allocations: 81.88 kB / 2.498 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/8.346, allocations: 4.91 MB / 2.503 GB, free: 103.2 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.04446/8.391, allocations: 22.69 MB / 2.525 GB, free: 93.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005802/8.397, allocations: 2.617 MB / 2.527 GB, free: 93.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/8.4, allocations: 1.695 MB / 2.529 GB, free: 93.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01644/8.416, allocations: 7.015 MB / 2.536 GB, free: 91.01 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003698/8.42, allocations: 1.785 MB / 2.538 GB, free: 90.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00858/8.429, allocations: 2.03 MB / 2.54 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=156): time 1.458e-05/8.429, allocations: 0 / 2.54 GB, free: 90.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156): time 0.009727/8.439, allocations: 4.035 MB / 2.544 GB, free: 90.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/8.439, allocations: 144.5 kB / 2.544 GB, free: 90.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01002/8.449, allocations: 4.513 MB / 2.548 GB, free: 89.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006428/8.449, allocations: 72.2 kB / 2.548 GB, free: 89.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002954/8.452, allocations: 2.456 MB / 2.551 GB, free: 89.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009464/8.453, allocations: 0.5645 MB / 2.551 GB, free: 88.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/8.454, allocations: 52.84 kB / 2.551 GB, free: 88.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001865/8.454, allocations: 411.9 kB / 2.552 GB, free: 88.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/8.457, allocations: 1.469 MB / 2.553 GB, free: 88.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/8.461, allocations: 2.766 MB / 2.556 GB, free: 86.92 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/8.465, allocations: 1.943 MB / 2.558 GB, free: 86.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-05/8.465, allocations: 10.19 kB / 2.558 GB, free: 86.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.04685/8.512, allocations: 8.487 MB / 2.566 GB, free: 86.44 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003105/8.515, allocations: 15.31 MB / 2.581 GB, free: 70.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/8.515, allocations: 40.3 kB / 2.581 GB, free: 70.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1201/8.635, allocations: 15.39 MB / 2.596 GB, free: 69.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004296/8.64, allocations: 0.6993 MB / 2.597 GB, free: 69.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/8.65, allocations: 4.712 MB / 2.601 GB, free: 67.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/8.657, allocations: 364.2 kB / 2.602 GB, free: 67.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008023/8.658, allocations: 156.2 kB / 2.602 GB, free: 67.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/8.658, allocations: 6.125 kB / 2.602 GB, free: 67.92 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04261/8.7, allocations: 7.969 MB / 2.61 GB, free: 67.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/8.701, allocations: 35.88 kB / 2.61 GB, free: 67.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1274/8.828, allocations: 15.32 MB / 2.625 GB, free: 66.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/8.832, allocations: 0.694 MB / 2.625 GB, free: 66.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/8.847, allocations: 7.706 MB / 2.633 GB, free: 62.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/8.853, allocations: 341.4 kB / 2.633 GB, free: 61.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007698/8.854, allocations: 145.6 kB / 2.633 GB, free: 61.69 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001072/8.855, allocations: 297 kB / 2.633 GB, free: 61.39 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001476/8.857, allocations: 462.3 kB / 2.634 GB, free: 60.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/8.887, allocations: 6.773 MB / 2.641 GB, free: 56.22 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/8.887, allocations: 16 kB / 2.641 GB, free: 56.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.841e-06/8.887, allocations: 0 / 2.641 GB, free: 56.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01851/8.905, allocations: 6.647 MB / 2.647 GB, free: 49.86 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03721/8.943, allocations: 12.99 MB / 2.66 GB, free: 36.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/8.943, allocations: 0 / 2.66 GB, free: 36.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/8.946, allocations: 419.5 kB / 2.66 GB, free: 36.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07456/9.021, allocations: 11.65 MB / 2.671 GB, free: 24.85 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/9.021, allocations: 47.92 kB / 2.672 GB, free: 24.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007451/9.029, allocations: 4.098 MB / 2.676 GB, free: 20.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/9.029, allocations: 0 / 2.676 GB, free: 20.62 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02886/9.058, allocations: 9.531 MB / 2.685 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003892/9.062, allocations: 1.093 MB / 2.686 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/9.063, allocations: 28 kB / 2.686 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00552/9.069, allocations: 299.1 kB / 2.686 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005748/9.07, allocations: 105.2 kB / 2.686 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003977/9.07, allocations: 83.92 kB / 2.686 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.007869/9.078, allocations: 3.464 MB / 2.69 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.198e-06/9.078, allocations: 0 / 2.69 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01333/9.091, allocations: 2.814 MB / 2.693 GB, free: 3.188 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002882/9.094, allocations: 1.254 MB / 2.694 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02167/9.116, allocations: 7.344 MB / 2.701 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/9.116, allocations: 4.781 kB / 2.701 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007755/9.124, allocations: 2.409 MB / 2.703 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01667/9.14, allocations: 2.714 MB / 2.706 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6017/9.742, allocations: 7.707 MB / 2.713 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005956/9.748, allocations: 3.309 MB / 2.717 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01508/9.763, allocations: 3.082 MB / 2.72 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001448/9.765, allocations: 263.3 kB / 2.72 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.756e-06/9.765, allocations: 0 / 2.72 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.2677/10.03, allocations: 124.5 MB / 2.842 GB, free: 114.9 MB / 0.8698 GB