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.354/2.354, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001562/0.001562, allocations: 191.3 kB / 325.6 MB, free: 2.844 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.54/2.54, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001101/0.001101, allocations: 99.78 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00079/0.0007903, allocations: 15.5 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2498, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002053/0.2519, allocations: 1.219 MB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.2528, allocations: 425.1 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.2529, allocations: 0 / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.2529, allocations: 3.938 kB / 0.9005 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.253, allocations: 15.97 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.2532, allocations: 7.984 kB / 0.9005 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.032e-05/0.2533, allocations: 39.89 kB / 0.9005 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2534, allocations: 15.91 kB / 0.9006 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2535, allocations: 23.92 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.2536, allocations: 15.92 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2537, allocations: 4 kB / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.2537, allocations: 0 / 0.9006 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.2537, allocations: 4 kB / 0.9006 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.2537, allocations: 33.64 kB / 0.9006 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.416e-05/0.2538, allocations: 39.92 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2539, allocations: 0 / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2539, allocations: 4 kB / 0.9007 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.2539, allocations: 0 / 0.9007 GB, free: 64.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000532/0.2544, allocations: 347.2 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2545, allocations: 8.031 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.2545, allocations: 11.86 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2547, allocations: 179 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.2547, allocations: 0 / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2547, allocations: 4 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2549, allocations: 57.61 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.255, allocations: 0 / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.255, allocations: 4 kB / 0.9013 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.255, allocations: 7.969 kB / 0.9013 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2552, allocations: 39.98 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.2557, allocations: 280.8 kB / 0.9016 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2559, allocations: 54.48 kB / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2559, allocations: 0 / 0.9016 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2559, allocations: 34.56 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.2559, allocations: 0 / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004784/0.2564, allocations: 97.7 kB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2565, allocations: 55.41 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.2566, allocations: 125.7 kB / 0.9019 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.2566, allocations: 25.7 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.2567, allocations: 88.14 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2567, allocations: 15.75 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.2567, allocations: 3.938 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.2568, allocations: 322.8 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.2569, allocations: 23.92 kB / 0.9024 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.257, allocations: 19.98 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2572, allocations: 19.98 kB / 0.9024 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2572, allocations: 4 kB / 0.9024 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002768/0.2575, allocations: 77.67 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2575, allocations: 4 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2575, allocations: 0 / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2575, allocations: 0 / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.2577, allocations: 15.98 kB / 0.9025 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.2577, allocations: 7.953 kB / 0.9025 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.2579, allocations: 7.984 kB / 0.9025 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2579, allocations: 0 / 0.9025 GB, free: 61.98 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 (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 7.466e-05/0.258, allocations: 113.8 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.258, allocations: 3.906 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.258, allocations: 15.84 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2581, allocations: 0 / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2581, allocations: 4 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2581, allocations: 3.953 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.2583, allocations: 173.6 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2583, allocations: 0 / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.2584, allocations: 15.98 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2584, allocations: 0 / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2585, allocations: 0 / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2585, allocations: 0 / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2585, allocations: 0 / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.2588, allocations: 179.4 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.2588, allocations: 81.47 kB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2589, allocations: 3.938 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.259, allocations: 8 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.2591, allocations: 15.98 kB / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2591, allocations: 0 / 0.9031 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.854e-05/0.2591, allocations: 95.2 kB / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2592, allocations: 0 / 0.9032 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002986/0.2595, allocations: 8 kB / 0.9032 GB, free: 61.18 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 (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.0001021/0.2596, allocations: 99.2 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.2599, allocations: 55.95 kB / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2599, allocations: 0 / 0.9034 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.26, allocations: 23.98 kB / 0.9034 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.2602, allocations: 3.938 kB / 0.9034 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.2606, allocations: 194.4 kB / 0.9036 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.2608, allocations: 0.6809 MB / 0.9042 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.2609, allocations: 7.984 kB / 0.9043 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.2609, allocations: 7.438 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of SimCode: time 6.71e-07/0.2609, allocations: 0 / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.002802/0.2637, allocations: 382.9 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB