Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.664/2.664, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 169.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.6301 GB, free: 10.31 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001012, allocations: 90.14 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 11.22 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001436/0.1551, allocations: 1.203 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006251/0.1558, allocations: 437.2 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.1558, allocations: 0 / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.1559, allocations: 3.938 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.1559, allocations: 11.98 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.1561, allocations: 15.97 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.659e-05/0.1562, allocations: 31.95 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.1563, allocations: 7.984 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.1564, allocations: 23.91 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.996e-05/0.1564, allocations: 19.86 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.1565, allocations: 4 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.1565, allocations: 4 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1565, allocations: 4 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1566, allocations: 33.64 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6e-05/0.1566, allocations: 32.16 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.877e-06/0.1566, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.678e-06/0.1567, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.135e-06/0.1567, allocations: 0 / 0.9805 GB, free: 26.3 MB / 0.6198 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.0003833/0.1571, allocations: 363.2 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1571, allocations: 12.02 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.1572, allocations: 4 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.1572, allocations: 182.8 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1573, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1573, allocations: 7.922 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1575, allocations: 61.67 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.695e-06/0.1575, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-06/0.1575, allocations: 4 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-06/0.1575, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.1577, allocations: 47.91 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.1581, allocations: 272.9 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1582, allocations: 42.56 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1582, allocations: 0 / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.1583, allocations: 34.56 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.795e-06/0.1583, allocations: 0 / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003686/0.1587, allocations: 109.6 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.111e-05/0.1587, allocations: 55.36 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.1588, allocations: 121.8 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.1588, allocations: 25.7 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1589, allocations: 92.14 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.1589, allocations: 7.906 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.1589, allocations: 4 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.159, allocations: 314.8 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.1591, allocations: 19.98 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.912e-05/0.1591, allocations: 24.17 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.064e-05/0.1592, allocations: 28.06 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-06/0.1593, allocations: 0 / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002195/0.1595, allocations: 81.52 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1595, allocations: 8 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.423e-06/0.1595, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1596, allocations: 4 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1597, allocations: 11.98 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.671e-06/0.1597, allocations: 0 / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1598, allocations: 15.88 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1598, allocations: 4 kB / 0.9824 GB, free: 24.17 MB / 0.6198 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 5.808e-05/0.1599, allocations: 105.8 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1599, allocations: 11.91 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.16, allocations: 7.906 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-06/0.16, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.852e-06/0.16, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-06/0.16, allocations: 3.984 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1602, allocations: 173.5 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-06/0.1602, allocations: 0 / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.356e-05/0.1603, allocations: 11.98 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.215e-06/0.1603, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1603, allocations: 4 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-06/0.1604, allocations: 11.88 kB / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-06/0.1604, allocations: 0 / 0.9827 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1606, allocations: 175.5 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.1607, allocations: 85.02 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1607, allocations: 4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1608, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.1609, allocations: 7.984 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.828e-06/0.1609, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.1609, allocations: 91.27 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.72e-07/0.1609, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002965/0.1612, allocations: 12 kB / 0.9831 GB, free: 23.38 MB / 0.6198 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 8.405e-05/0.1613, allocations: 99.25 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1616, allocations: 47.91 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1616, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.525e-05/0.1617, allocations: 23.98 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.1619, allocations: 13.5 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.1623, allocations: 186.3 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.1624, allocations: 0.6887 MB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.1624, allocations: 4 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.1625, allocations: 11.44 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.364e-06/0.1625, allocations: 0 / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002484/0.165, allocations: 385.8 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB