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 5.27/5.27, allocations: 0.5623 GB / 0.5775 GB, free: 3.277 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003691/0.00369, allocations: 354.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.267/4.267, allocations: 410.7 MB / 1.113 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001867/0.001867, allocations: 182.6 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005606/0.0005608, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.785, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2208/1.006, allocations: 137.8 MB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.006, allocations: 77.81 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.00447/1.011, allocations: 1.073 MB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.254e-06/1.011, allocations: 1.219 kB / 1.597 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.011, allocations: 0 / 1.597 GB, free: 145.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005527/1.011, allocations: 389.5 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.011, allocations: 11.62 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/1.011, allocations: 5.062 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.012, allocations: 182.8 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.012, allocations: 1.469 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/1.012, allocations: 8 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/1.012, allocations: 88.98 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.012, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/1.012, allocations: 0 / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.012, allocations: 4 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/1.013, allocations: 95.45 kB / 1.598 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007203/1.013, allocations: 324 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/1.014, allocations: 78.33 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/1.014, allocations: 62.59 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/1.014, allocations: 102.8 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/1.014, allocations: 35.25 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/1.014, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.000975/1.015, allocations: 184.4 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/1.015, allocations: 56.75 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.015, allocations: 132.2 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/1.016, allocations: 25.7 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/1.016, allocations: 92.62 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/1.016, allocations: 16.25 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/1.016, allocations: 0.7812 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/1.016, allocations: 318.8 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/1.016, allocations: 51.95 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/1.016, allocations: 49.42 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/1.017, allocations: 54.23 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.017, allocations: 0.9688 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006521/1.017, allocations: 137.9 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.017, allocations: 4 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.017, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.017, allocations: 6.438 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/1.018, allocations: 27.97 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.018, allocations: 0 / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/1.018, allocations: 20.39 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/1.018, allocations: 9.797 kB / 1.6 GB, free: 142.5 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 () * 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 9.505e-05/1.018, allocations: 113.8 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/1.018, allocations: 11.84 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/1.019, allocations: 154 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.019, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.019, allocations: 3.469 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.019, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/1.019, allocations: 181.6 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.019, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.019, allocations: 19.98 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/1.019, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/1.019, allocations: 3.984 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.019, allocations: 0.5625 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.019, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/1.02, allocations: 243.5 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/1.02, allocations: 85.02 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/1.02, allocations: 1.531 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/1.02, allocations: 21.12 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/1.02, allocations: 0 / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/1.02, allocations: 4 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.907e-05/1.02, allocations: 99.8 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.02, allocations: 1.438 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002976/1.02, allocations: 8 kB / 1.6 GB, free: 141.5 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 () * 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.0001576/1.021, allocations: 107.9 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006249/1.021, allocations: 104.4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.021, allocations: 4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/1.022, allocations: 49.92 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/1.022, allocations: 17.02 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/1.022, allocations: 156.1 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/1.023, allocations: 0.6887 MB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.386e-05/1.023, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/1.023, allocations: 10.25 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.553e-06/1.023, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003802/1.027, allocations: 0.6498 MB / 1.602 GB, free: 139.7 MB / 0.8542 GB