Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, 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.002219/0.002219, allocations: 188.5 kB / 325.6 MB, free: 2.832 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.588/2.588, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001182/0.001181, allocations: 96.84 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004588, allocations: 11.34 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002771/0.2155, allocations: 1.742 MB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005101/0.2207, allocations: 3.346 MB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.2209, allocations: 4 kB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.2212, allocations: 39.75 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.2217, allocations: 127.6 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.2222, allocations: 123.7 kB / 0.9041 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.2226, allocations: 195.6 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000175/0.2227, allocations: 40.92 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.223, allocations: 115.6 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.2232, allocations: 131.4 kB / 0.9046 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.2233, allocations: 16 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.2236, allocations: 103.9 kB / 0.9047 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.2237, allocations: 47.8 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.2238, allocations: 69.45 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.2241, allocations: 219.7 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.2241, allocations: 0 / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2242, allocations: 4 kB / 0.905 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2242, allocations: 0 / 0.905 GB, free: 59.12 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001692/0.2259, allocations: 0.6308 MB / 0.9057 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2259, allocations: 8.031 kB / 0.9057 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2274, allocations: 155.5 kB / 0.9058 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2285, allocations: 331.1 kB / 0.9061 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2286, allocations: 8.188 kB / 0.9061 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.2286, allocations: 8 kB / 0.9061 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2298, allocations: 259 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2298, allocations: 0 / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.2298, allocations: 0 / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2298, allocations: 7.953 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2317, allocations: 336.3 kB / 0.9067 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.2335, allocations: 0.6022 MB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/0.2345, allocations: 198.4 kB / 0.9075 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.2358, allocations: 0.5767 MB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.2358, allocations: 34.5 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/0.2358, allocations: 0 / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.003006/0.2388, allocations: 0.569 MB / 0.9086 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2389, allocations: 51.66 kB / 0.9087 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/0.2392, allocations: 264.6 kB / 0.9089 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.2392, allocations: 25.7 kB / 0.909 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.2394, allocations: 148 kB / 0.9091 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.2394, allocations: 43.3 kB / 0.9092 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.2395, allocations: 4 kB / 0.9092 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.2396, allocations: 342.8 kB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/0.2405, allocations: 175.9 kB / 0.9097 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/0.2414, allocations: 175.9 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009344/0.2424, allocations: 171.8 kB / 0.91 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2424, allocations: 7.938 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00207/0.2445, allocations: 427.4 kB / 0.9104 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2445, allocations: 11.98 kB / 0.9104 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2445, allocations: 0 / 0.9104 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2446, allocations: 4 kB / 0.9104 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.2454, allocations: 75.92 kB / 0.9105 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2454, allocations: 0 / 0.9105 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.246, allocations: 59.86 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.2461, allocations: 11.92 kB / 0.9106 GB, free: 53.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 (17): * Single equations (assignments): 17 * 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.0001633/0.2463, allocations: 137.8 kB / 0.9107 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.032e-05/0.2463, allocations: 27.66 kB / 0.9107 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/0.2485, allocations: 439.3 kB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2485, allocations: 0 / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.2485, allocations: 7.938 kB / 0.9111 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.2485, allocations: 4 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.2489, allocations: 309.3 kB / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2489, allocations: 4 kB / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.2497, allocations: 67.92 kB / 0.9115 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2497, allocations: 4 kB / 0.9115 GB, free: 52.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.2497, allocations: 11.98 kB / 0.9115 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.2498, allocations: 0 / 0.9115 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2498, allocations: 0 / 0.9115 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.2518, allocations: 0.4973 MB / 0.912 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2519, allocations: 120.7 kB / 0.9121 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.252, allocations: 11.97 kB / 0.9121 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.2526, allocations: 51.95 kB / 0.9122 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2527, allocations: 15.97 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.2528, allocations: 4 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001995/0.253, allocations: 187.1 kB / 0.9124 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.253, allocations: 0 / 0.9124 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004862/0.2535, allocations: 75.94 kB / 0.9125 GB, free: 51.1 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 (13): * Single equations (assignments): 13 * 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.0002446/0.2538, allocations: 131.2 kB / 0.9126 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.2557, allocations: 383.6 kB / 0.9129 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2558, allocations: 0 / 0.9129 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00096/0.2567, allocations: 195.8 kB / 0.9131 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.2572, allocations: 28.59 kB / 0.9132 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2586, allocations: 0.5764 MB / 0.9137 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.2589, allocations: 0.7516 MB / 0.9145 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004304/0.2593, allocations: 49.38 kB / 0.9145 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.2595, allocations: 27.41 kB / 0.9145 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of SimCode: time 8.81e-07/0.2595, allocations: 0 / 0.9145 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.008296/0.2678, allocations: 2.833 MB / 0.9173 GB, free: 46.11 MB / 0.6042 GB