Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004264/0.004263, allocations: 238.4 kB / 15.81 MB, free: 6.281 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.001143/0.001143, allocations: 183.2 kB / 16.69 MB, free: 5.449 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.818/3.818, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.888/3.888, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007216/0.0007218, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1669, allocations: 98.72 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001607/0.1685, allocations: 1.206 MB / 1.106 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.1693, allocations: 416.8 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.1693, allocations: 0 / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.1694, allocations: 11.92 kB / 1.106 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.1694, allocations: 7.922 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.1696, allocations: 19.08 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.1697, allocations: 39.8 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.1698, allocations: 15.92 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.1699, allocations: 19.91 kB / 1.106 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.17, allocations: 23.86 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.17, allocations: 6.625 kB / 1.106 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.17, allocations: 0 / 1.106 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.17, allocations: 4 kB / 1.106 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1701, allocations: 33.64 kB / 1.106 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.511e-05/0.1702, allocations: 27.94 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1702, allocations: 0 / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1702, allocations: 0 / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1702, allocations: 2.688 kB / 1.106 GB, free: 40.27 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004568/0.1707, allocations: 363.3 kB / 1.107 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1707, allocations: 8.031 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.1708, allocations: 7.906 kB / 1.107 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.1709, allocations: 178.4 kB / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1709, allocations: 0 / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1709, allocations: 0 / 1.107 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1711, allocations: 62.38 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1711, allocations: 0 / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1712, allocations: 7.938 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1712, allocations: 3.5 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.1714, allocations: 39.92 kB / 1.107 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.1718, allocations: 279.6 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.172, allocations: 47.08 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1721, allocations: 31.83 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.1721, allocations: 4 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1721, allocations: 36.19 kB / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1722, allocations: 0 / 1.107 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004424/0.1726, allocations: 101 kB / 1.108 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1726, allocations: 51.41 kB / 1.108 GB, free: 38.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.1727, allocations: 121.8 kB / 1.108 GB, free: 38.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1728, allocations: 25.7 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.1728, allocations: 89.73 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.1728, allocations: 7.812 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1728, allocations: 0 / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.1729, allocations: 326.2 kB / 1.108 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.173, allocations: 19.98 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.1732, allocations: 15.98 kB / 1.108 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1733, allocations: 31.27 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1733, allocations: 0 / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002629/0.1736, allocations: 73.67 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1736, allocations: 7.953 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1736, allocations: 3.938 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1736, allocations: 6.5 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1738, allocations: 11.98 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1738, allocations: 0 / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.024e-05/0.1739, allocations: 14.08 kB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1739, allocations: 1.219 kB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.174, allocations: 113.8 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.1741, allocations: 10.91 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.1741, allocations: 11.86 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1741, allocations: 0 / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1741, allocations: 0 / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.1742, allocations: 81.11 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1742, allocations: 3.984 kB / 1.108 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1743, allocations: 7.938 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1744, allocations: 2.562 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003368/0.1747, allocations: 164.4 kB / 1.109 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002959/0.175, allocations: 254.7 kB / 1.109 GB, free: 37.47 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001193/0.1752, allocations: 31.28 kB / 1.109 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.1752, allocations: 95.27 kB / 1.109 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of Backend: time 7.82e-07/0.1752, allocations: 0 / 1.109 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.1757, allocations: 103.9 kB / 1.109 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000409/0.1761, allocations: 0.6203 MB / 1.11 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.003255/0.1794, allocations: 0.5159 MB / 1.11 GB, free: 36.08 MB / 0.6042 GB