Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadModel(Buildings): time 4.074/4.074, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.846e-05, allocations: 4.453 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.439/5.62, allocations: 2.187 GB / 2.821 GB, free: 199.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/5.62, allocations: 83.95 kB / 2.821 GB, free: 199.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2092/5.83, allocations: 63.52 MB / 2.883 GB, free: 135.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.553e-06/5.83, allocations: 0 / 2.883 GB, free: 135.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.756e-05/5.83, allocations: 19.94 kB / 2.883 GB, free: 135.8 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.00203/5.832, allocations: 1.132 MB / 2.885 GB, free: 134.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/5.832, allocations: 8.031 kB / 2.885 GB, free: 134.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/5.835, allocations: 302.4 kB / 2.885 GB, free: 134.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/5.836, allocations: 0.5647 MB / 2.885 GB, free: 133.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/5.836, allocations: 62 kB / 2.885 GB, free: 133.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/5.836, allocations: 75.95 kB / 2.886 GB, free: 133.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/5.838, allocations: 0.866 MB / 2.886 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/5.838, allocations: 4 kB / 2.886 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/5.838, allocations: 40 kB / 2.886 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/5.839, allocations: 16 kB / 2.886 GB, free: 132.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/5.841, allocations: 1.105 MB / 2.888 GB, free: 131.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/5.846, allocations: 2.524 MB / 2.89 GB, free: 128.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/5.848, allocations: 0.7818 MB / 2.891 GB, free: 128.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/5.849, allocations: 295.2 kB / 2.891 GB, free: 127.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009562/5.85, allocations: 0.6567 MB / 2.892 GB, free: 127 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009813/5.851, allocations: 482 kB / 2.892 GB, free: 126.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 4.87e-06/5.851, allocations: 0 / 2.892 GB, free: 126.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.002306/5.853, allocations: 0.7591 MB / 2.893 GB, free: 125.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/5.853, allocations: 214.4 kB / 2.893 GB, free: 125.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009716/5.854, allocations: 0.5658 MB / 2.894 GB, free: 124.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/5.854, allocations: 41.7 kB / 2.894 GB, free: 124.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/5.855, allocations: 364.4 kB / 2.894 GB, free: 124.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/5.855, allocations: 240.5 kB / 2.894 GB, free: 124.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/5.855, allocations: 16 kB / 2.894 GB, free: 124.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001167/5.855, allocations: 382.7 kB / 2.895 GB, free: 123.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005863/5.856, allocations: 249.5 kB / 2.895 GB, free: 123.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006635/5.856, allocations: 344.2 kB / 2.895 GB, free: 123.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007045/5.857, allocations: 341.4 kB / 2.896 GB, free: 122.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-06/5.857, allocations: 0 / 2.896 GB, free: 122.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002351/5.86, allocations: 0.8901 MB / 2.896 GB, free: 122 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/5.86, allocations: 60.09 kB / 2.896 GB, free: 121.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1e-05/5.86, allocations: 3.984 kB / 2.896 GB, free: 121.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/5.86, allocations: 84.78 kB / 2.897 GB, free: 121.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/5.861, allocations: 159.7 kB / 2.897 GB, free: 121.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/5.864, allocations: 1.533 MB / 2.898 GB, free: 120 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/5.865, allocations: 95.39 kB / 2.898 GB, free: 119.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/5.865, allocations: 27.97 kB / 2.898 GB, free: 119.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002342/5.865, allocations: 144.9 kB / 2.898 GB, free: 119.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/5.865, allocations: 79.12 kB / 2.899 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002976/5.868, allocations: 1.019 MB / 2.9 GB, free: 118.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/5.868, allocations: 8 kB / 2.9 GB, free: 118.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-06/5.868, allocations: 3.984 kB / 2.9 GB, free: 118.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/5.868, allocations: 7.922 kB / 2.9 GB, free: 118.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/5.87, allocations: 0.8955 MB / 2.9 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.358e-06/5.87, allocations: 0 / 2.9 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/5.871, allocations: 163.8 kB / 2.901 GB, free: 117.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/5.872, allocations: 88.7 kB / 2.901 GB, free: 117.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/5.872, allocations: 23.98 kB / 2.901 GB, free: 117.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/5.874, allocations: 1.54 MB / 2.902 GB, free: 115.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.853e-06/5.874, allocations: 4 kB / 2.902 GB, free: 115.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/5.877, allocations: 0.8592 MB / 2.903 GB, free: 114.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006517/5.877, allocations: 303.7 kB / 2.903 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/5.878, allocations: 12 kB / 2.903 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/5.879, allocations: 79.94 kB / 2.903 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/5.879, allocations: 68.64 kB / 2.903 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/5.879, allocations: 27.98 kB / 2.903 GB, free: 114.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007182/5.88, allocations: 463.1 kB / 2.904 GB, free: 113.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.99e-07/5.88, allocations: 0 / 2.904 GB, free: 113.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001433/5.881, allocations: 375.1 kB / 2.904 GB, free: 113.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002538/5.884, allocations: 1.1 MB / 2.905 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002038/5.886, allocations: 0.8726 MB / 2.906 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.055e-06/5.886, allocations: 4.125 kB / 2.906 GB, free: 111.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/5.887, allocations: 0.4912 MB / 2.907 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/5.888, allocations: 187.2 kB / 2.907 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/5.892, allocations: 1.344 MB / 2.908 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/5.893, allocations: 1.011 MB / 2.909 GB, free: 108.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001454/5.894, allocations: 257 kB / 2.909 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/5.895, allocations: 103.2 kB / 2.91 GB, free: 108.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.887e-06/5.895, allocations: 0 / 2.91 GB, free: 108.2 MB / 0.823 GB Notification: Performance of Templates: time 0.0434/5.938, allocations: 22.26 MB / 2.931 GB, free: 86.04 MB / 0.823 GB