Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01543/0.01543, allocations: 107.6 kB / 15.06 MB, free: 5.562 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.001801/0.001801, allocations: 173.7 kB / 15.94 MB, free: 5.527 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 1.9/1.9, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.396/2.396, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004733, allocations: 23.98 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5419/0.5424, allocations: 98.7 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002102/0.5445, allocations: 1.621 MB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.5489, allocations: 3.206 MB / 0.688 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.5491, allocations: 2.406 kB / 0.688 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.5494, allocations: 45.72 kB / 0.6881 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.5497, allocations: 113.7 kB / 0.6882 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.5501, allocations: 91.45 kB / 0.6883 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.5504, allocations: 163.8 kB / 0.6884 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.5506, allocations: 40.81 kB / 0.6885 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.5508, allocations: 91.75 kB / 0.6886 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.551, allocations: 103.4 kB / 0.6887 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.551, allocations: 7.969 kB / 0.6887 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.5513, allocations: 84.8 kB / 0.6888 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.5514, allocations: 33.61 kB / 0.6888 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.5514, allocations: 63.77 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.5517, allocations: 177.5 kB / 0.689 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.789e-06/0.5518, allocations: 1.125 kB / 0.689 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5518, allocations: 0 / 0.689 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.31e-06/0.5518, allocations: 0 / 0.689 GB, free: 12.86 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001115/0.5529, allocations: 0.5797 MB / 0.6896 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.553, allocations: 8.688 kB / 0.6896 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.553, allocations: 24.41 kB / 0.6896 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.5535, allocations: 260.2 kB / 0.6899 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5535, allocations: 2.75 kB / 0.6899 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/0.5536, allocations: 17.33 kB / 0.6899 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.5542, allocations: 193.6 kB / 0.6901 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5542, allocations: 3.984 kB / 0.6901 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.5543, allocations: 5.406 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.291e-06/0.5543, allocations: 2.344 kB / 0.6901 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009079/0.5552, allocations: 235.4 kB / 0.6903 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5563, allocations: 499.8 kB / 0.6908 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.5569, allocations: 148 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.5578, allocations: 0.5791 MB / 0.6915 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.5578, allocations: 33.48 kB / 0.6915 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.788e-06/0.5579, allocations: 0 / 0.6915 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001613/0.5595, allocations: 415.6 kB / 0.6919 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.5595, allocations: 57.38 kB / 0.692 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.5598, allocations: 230.9 kB / 0.6922 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5599, allocations: 25.7 kB / 0.6922 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.56, allocations: 141.5 kB / 0.6923 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.245e-05/0.56, allocations: 31 kB / 0.6924 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.56, allocations: 8.875 kB / 0.6924 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.5601, allocations: 331.8 kB / 0.6927 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.5606, allocations: 117.3 kB / 0.6928 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.5611, allocations: 119.1 kB / 0.6929 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.5615, allocations: 116 kB / 0.693 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-06/0.5616, allocations: 0 / 0.693 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00106/0.5626, allocations: 301.2 kB / 0.6933 GB, free: 10 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5627, allocations: 9.578 kB / 0.6933 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.5627, allocations: 5.219 kB / 0.6933 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5627, allocations: 0 / 0.6933 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.5631, allocations: 58.22 kB / 0.6934 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.867e-06/0.5632, allocations: 1.562 kB / 0.6934 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.5635, allocations: 44.5 kB / 0.6934 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.5635, allocations: 8.969 kB / 0.6934 GB, free: 9.973 MB / 0.5261 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 (11): * Single equations (assignments): 11 * 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 0.0001557/0.5637, allocations: 124 kB / 0.6936 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.5638, allocations: 21.52 kB / 0.6936 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.5649, allocations: 328.9 kB / 0.6939 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.234e-06/0.565, allocations: 1.156 kB / 0.6939 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-06/0.565, allocations: 0.7031 kB / 0.6939 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.565, allocations: 1.75 kB / 0.6939 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.5654, allocations: 275.2 kB / 0.6942 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5654, allocations: 0 / 0.6942 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/0.5658, allocations: 57.98 kB / 0.6942 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.8e-06/0.5658, allocations: 3.953 kB / 0.6942 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.5659, allocations: 8.766 kB / 0.6942 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.88e-06/0.5659, allocations: 0 / 0.6942 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.637e-06/0.5659, allocations: 0.5625 kB / 0.6942 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.567, allocations: 398.9 kB / 0.6946 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5671, allocations: 117.1 kB / 0.6947 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.5672, allocations: 9.75 kB / 0.6947 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.5675, allocations: 37.48 kB / 0.6948 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5677, allocations: 16 kB / 0.6948 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-05/0.5677, allocations: 8.328 kB / 0.6948 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001972/0.5679, allocations: 171.1 kB / 0.695 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.57e-07/0.5679, allocations: 3.938 kB / 0.695 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004785/0.5684, allocations: 57.55 kB / 0.695 GB, free: 9.035 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 (11): * Single equations (assignments): 11 * 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.000235/0.5687, allocations: 127.2 kB / 0.6951 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.5698, allocations: 258.6 kB / 0.6954 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.484e-06/0.5698, allocations: 0 / 0.6954 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005178/0.5703, allocations: 137.2 kB / 0.6955 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.5707, allocations: 32.39 kB / 0.6955 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.5718, allocations: 493.2 kB / 0.696 GB, free: 8.551 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.572, allocations: 0.7449 MB / 0.6967 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002849/0.5723, allocations: 37.78 kB / 0.6968 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.5724, allocations: 25.28 kB / 0.6968 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of SimCode: time 2.051e-06/0.5724, allocations: 1.469 kB / 0.6968 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.00721/0.5796, allocations: 2.286 MB / 0.699 GB, free: 7.109 MB / 0.5261 GB