Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01546/0.01546, allocations: 111.8 kB / 15.06 MB, free: 5.559 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.001807/0.001808, allocations: 181.1 kB / 15.95 MB, free: 5.52 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 2.04/2.04, allocations: 194.6 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.262/2.262, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009744/0.0009753, allocations: 12 kB / 0.5869 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.5405, allocations: 98.71 MB / 0.6833 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001591/0.5421, allocations: 1.231 MB / 0.6845 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001123/0.5422, allocations: 32.5 kB / 0.6846 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.5423, allocations: 1.312 kB / 0.6846 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.5424, allocations: 10.5 kB / 0.6846 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.5425, allocations: 1.922 kB / 0.6846 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 8.763e-05/0.5426, allocations: 20.08 kB / 0.6846 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.5426, allocations: 25.5 kB / 0.6846 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.5428, allocations: 35.88 kB / 0.6847 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.5428, allocations: 12.06 kB / 0.6847 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.5429, allocations: 24.23 kB / 0.6847 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.5429, allocations: 1.344 kB / 0.6847 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.5429, allocations: 2.188 kB / 0.6847 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.543, allocations: 9.156 kB / 0.6847 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.543, allocations: 36.05 kB / 0.6847 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.788e-05/0.5431, allocations: 42.45 kB / 0.6848 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.528e-06/0.5431, allocations: 0 / 0.6848 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.967e-06/0.5431, allocations: 0 / 0.6848 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.025e-06/0.5431, allocations: 0 / 0.6848 GB, free: 15.49 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002865/0.5434, allocations: 351 kB / 0.6851 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.5435, allocations: 8.875 kB / 0.6851 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.5435, allocations: 8.781 kB / 0.6851 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.5437, allocations: 186.5 kB / 0.6853 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5437, allocations: 10.88 kB / 0.6853 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.5437, allocations: 13.14 kB / 0.6853 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.5439, allocations: 93.52 kB / 0.6854 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.912e-06/0.5439, allocations: 1.031 kB / 0.6854 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.5439, allocations: 9.703 kB / 0.6854 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.445e-06/0.544, allocations: 2.031 kB / 0.6854 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.5441, allocations: 39.77 kB / 0.6855 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.5446, allocations: 0.6425 MB / 0.6861 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.5447, allocations: 167 kB / 0.6863 GB, free: 14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.5447, allocations: 79.28 kB / 0.6863 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.5447, allocations: 111.5 kB / 0.6864 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.928e-06/0.5448, allocations: 0 / 0.6864 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.446e-05/0.5448, allocations: 38.42 kB / 0.6865 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.5449, allocations: 126.7 kB / 0.6866 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.5451, allocations: 167.1 kB / 0.6868 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-06/0.5451, allocations: 25.7 kB / 0.6868 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.5452, allocations: 112 kB / 0.6869 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-06/0.5452, allocations: 0.6094 kB / 0.6869 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.5452, allocations: 0 / 0.6869 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.5453, allocations: 320.1 kB / 0.6872 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.5453, allocations: 6.094 kB / 0.6872 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.5453, allocations: 23.94 kB / 0.6872 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.254e-05/0.5454, allocations: 13.22 kB / 0.6872 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5454, allocations: 3.953 kB / 0.6872 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001351/0.5455, allocations: 59.75 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5455, allocations: 6.094 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.597e-06/0.5456, allocations: 0 / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5456, allocations: 1.156 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.5456, allocations: 5.297 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.255e-06/0.5457, allocations: 2.156 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.5457, allocations: 2.219 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-06/0.5457, allocations: 6.438 kB / 0.6873 GB, free: 12.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.443e-05/0.5458, allocations: 191.2 kB / 0.6875 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.5459, allocations: 118.6 kB / 0.6876 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.5459, allocations: 114 kB / 0.6877 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.546, allocations: 178.1 kB / 0.6879 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.546, allocations: 186.2 kB / 0.6881 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.5461, allocations: 178 kB / 0.6882 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.5463, allocations: 425.2 kB / 0.6887 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.5463, allocations: 103.2 kB / 0.6887 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.5463, allocations: 115.9 kB / 0.6889 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.862e-05/0.5464, allocations: 177.1 kB / 0.689 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.5464, allocations: 185.4 kB / 0.6892 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-05/0.5464, allocations: 186.2 kB / 0.6894 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.824e-05/0.5465, allocations: 178 kB / 0.6896 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.5466, allocations: 312.5 kB / 0.6899 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.5466, allocations: 194.5 kB / 0.69 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.5467, allocations: 194.2 kB / 0.6902 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5468, allocations: 103.2 kB / 0.6903 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.5469, allocations: 181.1 kB / 0.6905 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.5469, allocations: 102.8 kB / 0.6906 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001164/0.547, allocations: 132.6 kB / 0.6907 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.96e-07/0.547, allocations: 0 / 0.6907 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002977/0.5473, allocations: 10.5 kB / 0.6907 GB, free: 9.355 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001005/0.5475, allocations: 173.7 kB / 0.6909 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.851e-05/0.5475, allocations: 11.61 kB / 0.6909 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.558e-06/0.5476, allocations: 0 / 0.6909 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.164e-06/0.5476, allocations: 1.031 kB / 0.6909 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.5478, allocations: 0.5295 MB / 0.6914 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.5481, allocations: 238.4 kB / 0.6916 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.5483, allocations: 0.6974 MB / 0.6923 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.5483, allocations: 6.234 kB / 0.6923 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.5484, allocations: 11.06 kB / 0.6923 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of SimCode: time 1.374e-06/0.5484, allocations: 3.938 kB / 0.6924 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of Templates: time 0.002734/0.5511, allocations: 389.2 kB / 0.6927 GB, free: 7.664 MB / 0.5261 GB