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.457/2.457, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.002401/0.0024, allocations: 175.9 kB / 325.6 MB, free: 2.809 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.41/2.41, allocations: 205.4 MB / 0.5766 GB, free: 21.05 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.001122/0.001122, allocations: 92.48 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006173/0.0006174, allocations: 11.47 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2296, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.4491, allocations: 131.5 MB / 1.027 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.4495, allocations: 67.97 kB / 1.027 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004696/0.4542, allocations: 1.086 MB / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.296e-06/0.4542, allocations: 0 / 1.028 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.4542, allocations: 4 kB / 1.028 GB, free: 13.07 MB / 0.6823 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.0006536/0.4549, allocations: 391 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.455, allocations: 8.031 kB / 1.029 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.455, allocations: 11.84 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4552, allocations: 175 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4552, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.4552, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.4556, allocations: 93.64 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4557, allocations: 4 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4557, allocations: 3.984 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4557, allocations: 0 / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/0.4563, allocations: 99.92 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.4571, allocations: 328.7 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.4576, allocations: 78.53 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.4582, allocations: 105.2 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.635e-05/0.4583, allocations: 30.56 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 5.971e-06/0.4584, allocations: 0 / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001751/0.4602, allocations: 197.4 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.4602, allocations: 51.41 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4604, allocations: 122.7 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.4604, allocations: 25.7 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.4605, allocations: 88.14 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.4605, allocations: 11.84 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.4605, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4607, allocations: 318.8 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.461, allocations: 55.95 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.4613, allocations: 47.95 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.4616, allocations: 47.95 kB / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4616, allocations: 0 / 1.031 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006827/0.4623, allocations: 141.5 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4623, allocations: 7.938 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4623, allocations: 4 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4624, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.4626, allocations: 23.98 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4626, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.4628, allocations: 15.98 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.4628, allocations: 11.94 kB / 1.031 GB, free: 10.39 MB / 0.6823 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 0.0001055/0.463, allocations: 117.8 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.463, allocations: 7.906 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.4637, allocations: 149.4 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4638, allocations: 384 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4638, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4638, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.464, allocations: 189.6 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.464, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.4642, allocations: 27.97 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4643, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4643, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4643, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4643, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006855/0.465, allocations: 239.3 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.4651, allocations: 81.11 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4651, allocations: 0 / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4653, allocations: 19.98 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.4654, allocations: 3.984 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4654, allocations: 7.938 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.4655, allocations: 101.6 kB / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4655, allocations: 0 / 1.032 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000302/0.4658, allocations: 12 kB / 1.032 GB, free: 9.355 MB / 0.6823 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.000175/0.466, allocations: 107.2 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.4667, allocations: 103.9 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4667, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.467, allocations: 47.97 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4672, allocations: 15.94 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004155/0.4676, allocations: 168.5 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.4679, allocations: 0.6887 MB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.468, allocations: 11.8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.468, allocations: 11.44 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of SimCode: time 6.41e-07/0.468, allocations: 0 / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of Templates: time 0.003569/0.4716, allocations: 0.6355 MB / 1.033 GB, free: 7.512 MB / 0.6823 GB