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.168/2.168, allocations: 253.2 MB / 260.6 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 184.8 kB / 319.9 MB, free: 3.066 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.004/2.004, allocations: 205.5 MB / 0.5708 GB, free: 15.27 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.001189/0.001189, allocations: 86.72 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.092e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1878, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.352, allocations: 356.1 MB / 1.236 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005221/1.352, allocations: 89.75 kB / 1.236 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04597/1.398, allocations: 10.56 MB / 1.247 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.824e-06/1.398, allocations: 0 / 1.247 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.398, allocations: 8 kB / 1.247 GB, free: 4.363 MB / 0.8542 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.001538/1.4, allocations: 0.5667 MB / 1.247 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.4, allocations: 8.031 kB / 1.247 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/1.4, allocations: 31.16 kB / 1.247 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/1.401, allocations: 272.5 kB / 1.248 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.401, allocations: 3.984 kB / 1.248 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/1.401, allocations: 4 kB / 1.248 GB, free: 3.426 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003466/1.401, allocations: 101.5 kB / 1.248 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/1.402, allocations: 107 kB / 1.248 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.402, allocations: 0 / 1.248 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/1.402, allocations: 3.938 kB / 1.248 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.402, allocations: 4 kB / 1.248 GB, free: 3.262 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/1.403, allocations: 469.2 kB / 1.248 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/1.403, allocations: 69.19 kB / 1.248 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/1.404, allocations: 60.59 kB / 1.248 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009732/1.404, allocations: 0.51 MB / 1.249 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.405, allocations: 38.5 kB / 1.249 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/1.405, allocations: 0 / 1.249 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.7061/2.111, allocations: 3.727 MB / 1.253 GB, free: 309 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/2.111, allocations: 53.72 kB / 1.253 GB, free: 309 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/2.111, allocations: 191.4 kB / 1.253 GB, free: 308.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/2.111, allocations: 26.83 kB / 1.253 GB, free: 308.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/2.111, allocations: 143.9 kB / 1.253 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/2.111, allocations: 35.38 kB / 1.253 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/2.111, allocations: 0.7188 kB / 1.253 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/2.111, allocations: 337.8 kB / 1.253 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/2.112, allocations: 47.47 kB / 1.253 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/2.112, allocations: 44.91 kB / 1.253 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1223/2.234, allocations: 3.629 MB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/2.234, allocations: 3.5 kB / 1.257 GB, free: 308.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.1342/2.368, allocations: 3.739 MB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/2.369, allocations: 5.719 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/2.369, allocations: 0.5625 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/2.369, allocations: 1.312 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/2.37, allocations: 56.45 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/2.37, allocations: 5 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/2.37, allocations: 36.61 kB / 1.261 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/2.37, allocations: 8.906 kB / 1.261 GB, free: 307.9 MB / 0.8542 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 () * 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.0001319/2.37, allocations: 109.1 kB / 1.261 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/2.371, allocations: 25.45 kB / 1.261 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1391/2.51, allocations: 3.75 MB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/2.51, allocations: 0.9375 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/2.51, allocations: 1.062 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/2.51, allocations: 5.219 kB / 1.265 GB, free: 307.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/2.51, allocations: 247.2 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/2.511, allocations: 0.5625 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/2.511, allocations: 54.27 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/2.511, allocations: 1.375 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/2.511, allocations: 7.297 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/2.511, allocations: 1.984 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.511, allocations: 3.938 kB / 1.265 GB, free: 307.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1271/2.639, allocations: 3.837 MB / 1.269 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/2.639, allocations: 111.9 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/2.639, allocations: 5.25 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/2.639, allocations: 35.91 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/2.639, allocations: 11.19 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/2.639, allocations: 7.719 kB / 1.269 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001875/2.64, allocations: 159.2 kB / 1.269 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/2.64, allocations: 0 / 1.269 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005056/2.64, allocations: 65.05 kB / 1.269 GB, free: 306.7 MB / 0.8542 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 () * 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.0004114/2.641, allocations: 188.5 kB / 1.269 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004044/2.641, allocations: 118 kB / 1.269 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/2.641, allocations: 2.719 kB / 1.269 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/2.641, allocations: 70.86 kB / 1.269 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/2.642, allocations: 26.03 kB / 1.269 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007983/2.642, allocations: 239 kB / 1.27 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/2.643, allocations: 0.738 MB / 1.27 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004946/2.643, allocations: 40 kB / 1.27 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/2.644, allocations: 18.94 kB / 1.27 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.353e-06/2.644, allocations: 0 / 1.27 GB, free: 305.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.009672/2.653, allocations: 2.497 MB / 1.273 GB, free: 305.5 MB / 0.8542 GB