Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 252.6 MB / 265.2 MB, free: 5.754 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.001442/0.001442, allocations: 171.9 kB / 324.5 MB, free: 14.41 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.043/2.043, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001143/0.001143, allocations: 98 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.341e-05, allocations: 4 kB / 0.7911 GB, free: 96.63 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2006, allocations: 106.2 MB / 0.8949 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8566/1.057, allocations: 131.4 MB / 1.023 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/1.058, allocations: 72.39 kB / 1.023 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007051/1.065, allocations: 1.086 MB / 1.024 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.065, allocations: 0 / 1.024 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.445e-06/1.065, allocations: 4 kB / 1.024 GB, free: 2.055 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.0008439/1.066, allocations: 370.2 kB / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.066, allocations: 12.03 kB / 1.025 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/1.066, allocations: 3.906 kB / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/1.066, allocations: 180.5 kB / 1.025 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/1.066, allocations: 4 kB / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/1.066, allocations: 0 / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/1.066, allocations: 53.06 kB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.067, allocations: 0 / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.393e-05/1.067, allocations: 4 kB / 1.025 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/1.067, allocations: 3.984 kB / 1.025 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/1.067, allocations: 33.19 kB / 1.025 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.068, allocations: 324.1 kB / 1.025 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/1.068, allocations: 45.12 kB / 1.025 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/1.068, allocations: 26.88 kB / 1.025 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/1.069, allocations: 105.1 kB / 1.025 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.069, allocations: 37.62 kB / 1.026 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/1.069, allocations: 0 / 1.026 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003606/1.069, allocations: 71.58 kB / 1.026 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.069, allocations: 59.3 kB / 1.026 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/1.069, allocations: 111.9 kB / 1.026 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/1.069, allocations: 25.7 kB / 1.026 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.225e-05/1.069, allocations: 99.12 kB / 1.026 GB, free: 404 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/1.07, allocations: 3.906 kB / 1.026 GB, free: 400 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.07, allocations: 0 / 1.026 GB, free: 400 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.07, allocations: 318.3 kB / 1.026 GB, free: 76 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/1.07, allocations: 18.92 kB / 1.026 GB, free: 64 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.709e-05/1.07, allocations: 11.5 kB / 1.026 GB, free: 56 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/1.07, allocations: 15.42 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.07, allocations: 3.938 kB / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/1.07, allocations: 71.89 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.07, allocations: 12 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.071, allocations: 0 / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.071, allocations: 192 / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/1.071, allocations: 19.98 kB / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.071, allocations: 0 / 1.026 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/1.071, allocations: 19.94 kB / 1.026 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/1.071, allocations: 11.05 kB / 1.026 GB, free: 15.91 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 0.0001104/1.071, allocations: 115.5 kB / 1.026 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/1.071, allocations: 3.906 kB / 1.026 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/1.072, allocations: 83.58 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/1.072, allocations: 0 / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.072, allocations: 0 / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.072, allocations: 3.984 kB / 1.027 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/1.072, allocations: 183.6 kB / 1.027 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.072, allocations: 4 kB / 1.027 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/1.073, allocations: 20.86 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/1.073, allocations: 4 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.073, allocations: 0 / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/1.073, allocations: 0 / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.073, allocations: 0 / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/1.073, allocations: 176.8 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/1.073, allocations: 85.05 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/1.073, allocations: 7.984 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/1.073, allocations: 15.98 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/1.074, allocations: 2.75 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/1.074, allocations: 4 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001159/1.074, allocations: 101.4 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.052e-06/1.074, allocations: 4 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000507/1.074, allocations: 16 kB / 1.027 GB, free: 15.05 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.0002325/1.075, allocations: 101.1 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002164/1.075, allocations: 30.88 kB / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.075, allocations: 4 kB / 1.027 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.075, allocations: 23.56 kB / 1.027 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/1.075, allocations: 7.938 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/1.076, allocations: 108.3 kB / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/1.076, allocations: 0.6923 MB / 1.028 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.51e-05/1.076, allocations: 7.844 kB / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/1.076, allocations: 11.44 kB / 1.028 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.076, allocations: 0 / 1.028 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.005431/1.082, allocations: 0.6497 MB / 1.029 GB, free: 13.41 MB / 0.6511 GB