Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.258/2.258, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 180.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.449/2.449, allocations: 205.4 MB / 0.5766 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 98.86 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 17.72 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2158, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003418/0.2193, allocations: 1.637 MB / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.2246, allocations: 3.268 MB / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.2248, allocations: 0 / 0.9037 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.2251, allocations: 39.75 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/0.2255, allocations: 111.6 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.226, allocations: 103.7 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.2264, allocations: 163.6 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.2265, allocations: 32.56 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.2268, allocations: 99.61 kB / 0.9042 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2271, allocations: 99.58 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.2271, allocations: 11.94 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.2274, allocations: 95.91 kB / 0.9044 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.2275, allocations: 35.83 kB / 0.9044 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.2276, allocations: 61.56 kB / 0.9045 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2279, allocations: 187.8 kB / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2279, allocations: 0 / 0.9047 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2279, allocations: 4 kB / 0.9047 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.228, allocations: 0 / 0.9047 GB, free: 59.49 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001612/0.2296, allocations: 0.5724 MB / 0.9052 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2297, allocations: 12.03 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.168e-05/0.2297, allocations: 23.72 kB / 0.9053 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.2303, allocations: 258.5 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.2304, allocations: 7.938 kB / 0.9055 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.2304, allocations: 11.95 kB / 0.9055 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/0.2313, allocations: 191.6 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2313, allocations: 0 / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.2314, allocations: 4 kB / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2314, allocations: 0 / 0.9057 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.2326, allocations: 239.8 kB / 0.9059 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.2339, allocations: 0.4965 MB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.2346, allocations: 146.5 kB / 0.9066 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.2359, allocations: 0.5728 MB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.236, allocations: 34.56 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.377e-06/0.236, allocations: 0 / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002148/0.2382, allocations: 421.3 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.2383, allocations: 55.41 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.2385, allocations: 230.7 kB / 0.9078 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.2386, allocations: 29.7 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.2387, allocations: 132 kB / 0.908 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.2388, allocations: 39.44 kB / 0.908 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.2388, allocations: 4 kB / 0.908 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.2389, allocations: 342.8 kB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.2395, allocations: 111.9 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.2401, allocations: 119.9 kB / 0.9086 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.2408, allocations: 119.9 kB / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2408, allocations: 0 / 0.9087 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001402/0.2422, allocations: 305.1 kB / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2423, allocations: 4 kB / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2423, allocations: 0 / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2423, allocations: 4 kB / 0.909 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.2429, allocations: 55.94 kB / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2429, allocations: 0 / 0.909 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.2434, allocations: 43.91 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2434, allocations: 3.984 kB / 0.9091 GB, free: 54.63 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 (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.0001517/0.2436, allocations: 129.8 kB / 0.9092 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.2437, allocations: 27.67 kB / 0.9092 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.2452, allocations: 319.1 kB / 0.9095 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2452, allocations: 4 kB / 0.9095 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2452, allocations: 4 kB / 0.9096 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2452, allocations: 0 / 0.9096 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.2456, allocations: 273.4 kB / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2456, allocations: 0 / 0.9098 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005287/0.2462, allocations: 55.94 kB / 0.9099 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2462, allocations: 3.953 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.2462, allocations: 4 kB / 0.9099 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2462, allocations: 7.938 kB / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2462, allocations: 0 / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.2477, allocations: 395.9 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.2478, allocations: 116.8 kB / 0.9104 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.2479, allocations: 3.953 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.2484, allocations: 43.95 kB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2485, allocations: 7.984 kB / 0.9104 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.2485, allocations: 11.98 kB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001805/0.2487, allocations: 162 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2487, allocations: 0 / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004555/0.2492, allocations: 63.89 kB / 0.9106 GB, free: 52.94 MB / 0.6042 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.0002507/0.2495, allocations: 135.2 kB / 0.9108 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.2508, allocations: 259.8 kB / 0.911 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2509, allocations: 0 / 0.911 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006662/0.2515, allocations: 140.2 kB / 0.9112 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.252, allocations: 32.56 kB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.2531, allocations: 0.4891 MB / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2533, allocations: 0.7394 MB / 0.9124 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.2537, allocations: 44.83 kB / 0.9124 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.2538, allocations: 15.42 kB / 0.9124 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of SimCode: time 1.363e-06/0.2538, allocations: 0 / 0.9124 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.007533/0.2614, allocations: 2.295 MB / 0.9147 GB, free: 48.76 MB / 0.6042 GB