Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 252.6 MB / 265.2 MB, free: 5.832 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.001451/0.001451, allocations: 175.9 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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.001172/0.001172, allocations: 94.64 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.571e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8434/1.057, allocations: 132.1 MB / 1.024 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.057, allocations: 76.58 kB / 1.024 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005231/1.062, allocations: 1.159 MB / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/1.063, allocations: 0 / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.063, allocations: 0 / 1.025 GB, free: 1.402 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004934/1.063, allocations: 342.5 kB / 1.025 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/1.063, allocations: 12.03 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/1.063, allocations: 3.906 kB / 1.025 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/1.063, allocations: 182.1 kB / 1.026 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.063, allocations: 4 kB / 1.026 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/1.063, allocations: 0 / 1.026 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/1.064, allocations: 48.36 kB / 1.026 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.064, allocations: 4 kB / 1.026 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/1.064, allocations: 0 / 1.026 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/1.064, allocations: 4 kB / 1.026 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.567e-05/1.064, allocations: 17.27 kB / 1.026 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/1.064, allocations: 278.4 kB / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/1.064, allocations: 29.89 kB / 1.026 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/1.064, allocations: 23.34 kB / 1.026 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/1.065, allocations: 0 / 1.026 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.065, allocations: 34.64 kB / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/1.065, allocations: 0 / 1.026 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002406/1.065, allocations: 52.56 kB / 1.026 GB, free: 280 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.065, allocations: 59.3 kB / 1.026 GB, free: 208 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/1.065, allocations: 104.9 kB / 1.026 GB, free: 104 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.065, allocations: 29.7 kB / 1.026 GB, free: 68 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/1.065, allocations: 95.91 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/1.065, allocations: 3.906 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/1.065, allocations: 7.625 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001276/1.065, allocations: 314.8 kB / 1.027 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/1.065, allocations: 7.375 kB / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-05/1.065, allocations: 11.05 kB / 1.027 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/1.065, allocations: 7.5 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.065, allocations: 0 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001472/1.066, allocations: 61.5 kB / 1.027 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.066, allocations: 11.94 kB / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.066, allocations: 0 / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.066, allocations: 0 / 1.027 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/1.066, allocations: 15.92 kB / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.066, allocations: 0 / 1.027 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/1.066, allocations: 11.86 kB / 1.027 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/1.066, allocations: 4 kB / 1.027 GB, free: 15.53 MB / 0.6511 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 (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 8.137e-05/1.066, allocations: 109.7 kB / 1.027 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/1.066, allocations: 4 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/1.066, allocations: 7.906 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.066, allocations: 0 / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/1.066, allocations: 3.188 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/1.066, allocations: 0 / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/1.067, allocations: 176.3 kB / 1.027 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.067, allocations: 3.984 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/1.067, allocations: 11.81 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.067, allocations: 4 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/1.067, allocations: 0 / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.067, allocations: 3.984 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.067, allocations: 0 / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/1.067, allocations: 158.7 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/1.067, allocations: 81.02 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/1.067, allocations: 0 / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.067, allocations: 11.98 kB / 1.027 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/1.067, allocations: 4 kB / 1.027 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/1.067, allocations: 0 / 1.027 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001101/1.067, allocations: 99.06 kB / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.067, allocations: 0 / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002774/1.068, allocations: 4 kB / 1.027 GB, free: 14.8 MB / 0.6511 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 (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 Backend phase and start with SimCode phase: time 0.0001494/1.068, allocations: 99.25 kB / 1.028 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000134/1.068, allocations: 19.56 kB / 1.028 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.068, allocations: 4 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-05/1.068, allocations: 19.3 kB / 1.028 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/1.068, allocations: 12.72 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/1.069, allocations: 76.86 kB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/1.069, allocations: 0.6848 MB / 1.028 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.278e-05/1.069, allocations: 0 / 1.028 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/1.069, allocations: 11.44 kB / 1.028 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/1.069, allocations: 4 kB / 1.028 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.003028/1.072, allocations: 397.1 kB / 1.029 GB, free: 13.47 MB / 0.6511 GB