Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001434/0.001433, allocations: 178.4 kB / 371.4 MB, free: 10.65 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.09/2.09, allocations: 205.4 MB / 0.6301 GB, free: 10.28 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.001057/0.001057, allocations: 111.6 kB / 0.7434 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.000467, allocations: 12.38 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1547, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001403/0.1562, allocations: 1.195 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002356/0.1564, allocations: 104.6 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.1565, allocations: 3.938 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.1565, allocations: 7.922 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.1566, allocations: 15.98 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1568, allocations: 11.98 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.1568, allocations: 31.89 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.867e-05/0.1569, allocations: 7.984 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.128e-05/0.157, allocations: 12 kB / 0.9801 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.157, allocations: 19.91 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1571, allocations: 4 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.1571, allocations: 15.98 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.1572, allocations: 15.92 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1572, allocations: 29.7 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.634e-05/0.1573, allocations: 39.92 kB / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.784e-06/0.1573, allocations: 0 / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.806e-06/0.1573, allocations: 0 / 0.9802 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.1573, allocations: 0 / 0.9802 GB, free: 26.63 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.0004233/0.1578, allocations: 387.3 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1578, allocations: 16.02 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1579, allocations: 3.906 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.1579, allocations: 171 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.158, allocations: 4 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.158, allocations: 4 kB / 0.9808 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.1583, allocations: 85.66 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1583, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-06/0.1583, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1583, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.1587, allocations: 107.9 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.159, allocations: 292.7 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.1593, allocations: 78.53 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.1595, allocations: 109.1 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.1596, allocations: 34.56 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.253e-06/0.1596, allocations: 0 / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006239/0.1602, allocations: 181.5 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1602, allocations: 55.39 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.1603, allocations: 121.8 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1604, allocations: 29.7 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.1604, allocations: 104 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.1604, allocations: 7.891 kB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.1604, allocations: 0 / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.1605, allocations: 322.8 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1607, allocations: 47.97 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1609, allocations: 47.95 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1611, allocations: 47.97 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.045e-06/0.1611, allocations: 0 / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003948/0.1615, allocations: 141.5 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1615, allocations: 4 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-06/0.1615, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1615, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.1617, allocations: 19.98 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.284e-06/0.1617, allocations: 4 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.659e-05/0.1618, allocations: 19.97 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-06/0.1618, allocations: 0 / 0.9826 GB, free: 24 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 6.404e-05/0.1619, allocations: 117.8 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.162, allocations: 4 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.1624, allocations: 145.4 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-06/0.1624, allocations: 4 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-06/0.1624, allocations: 0 / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-06/0.1624, allocations: 0 / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1626, allocations: 185.5 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-06/0.1626, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1628, allocations: 19.98 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.1628, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.901e-06/0.1628, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-06/0.1628, allocations: 0 / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1628, allocations: 4 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1632, allocations: 231.7 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.248e-05/0.1633, allocations: 85.02 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1633, allocations: 4 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1634, allocations: 20.02 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.1635, allocations: 7.984 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.739e-06/0.1635, allocations: 7.938 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.1636, allocations: 101.6 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.37e-07/0.1636, allocations: 0 / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003085/0.1639, allocations: 8 kB / 0.9835 GB, free: 22.97 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 0.0001186/0.164, allocations: 107.2 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.1645, allocations: 95.92 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.1645, allocations: 0 / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1647, allocations: 59.95 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.1649, allocations: 11.89 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.1652, allocations: 160.6 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.1654, allocations: 0.6887 MB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.1654, allocations: 4 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1654, allocations: 7.438 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.1655, allocations: 0 / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002982/0.1684, allocations: 0.6465 MB / 0.9852 GB, free: 21.14 MB / 0.6198 GB