Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.84 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004978, allocations: 20 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5086, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001603/0.5103, allocations: 1.196 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.5106, allocations: 104.6 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.5106, allocations: 3.938 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.5106, allocations: 3.984 kB / 0.7294 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.5107, allocations: 15.92 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.5109, allocations: 15.98 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.511, allocations: 35.86 kB / 0.7295 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.5111, allocations: 11.98 kB / 0.7295 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.261e-05/0.5111, allocations: 11.92 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.5112, allocations: 23.86 kB / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.5112, allocations: 0 / 0.7295 GB, free: 10 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.5113, allocations: 23.98 kB / 0.7295 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.5113, allocations: 19.97 kB / 0.7296 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.5114, allocations: 29.64 kB / 0.7296 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.727e-05/0.5115, allocations: 31.94 kB / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5115, allocations: 0 / 0.7296 GB, free: 9.895 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5115, allocations: 4 kB / 0.7296 GB, free: 9.891 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.5115, allocations: 0 / 0.7296 GB, free: 9.891 MB / 0.545 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.0004805/0.512, allocations: 389.1 kB / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.512, allocations: 12.03 kB / 0.73 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.5121, allocations: 3.906 kB / 0.73 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.5122, allocations: 178.9 kB / 0.7302 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.5122, allocations: 4 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5122, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.5125, allocations: 97.58 kB / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5125, allocations: 0 / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.5125, allocations: 0 / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5125, allocations: 0 / 0.7303 GB, free: 9.129 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.5128, allocations: 99.92 kB / 0.7304 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.5132, allocations: 284.9 kB / 0.7306 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.5134, allocations: 82.47 kB / 0.7307 GB, free: 8.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.5135, allocations: 52.92 kB / 0.7308 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.5138, allocations: 109.1 kB / 0.7309 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5138, allocations: 34.5 kB / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5138, allocations: 0 / 0.7309 GB, free: 8.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005251/0.5143, allocations: 181.5 kB / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5144, allocations: 55.39 kB / 0.7311 GB, free: 8.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.5145, allocations: 131.7 kB / 0.7313 GB, free: 8.004 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.5145, allocations: 25.7 kB / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.5145, allocations: 92.12 kB / 0.7314 GB, free: 7.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.5146, allocations: 11.84 kB / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5146, allocations: 0 / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.5147, allocations: 326.8 kB / 0.7317 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.5148, allocations: 43.97 kB / 0.7317 GB, free: 7.496 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.515, allocations: 51.95 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.5151, allocations: 43.97 kB / 0.7318 GB, free: 7.402 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5151, allocations: 0 / 0.7318 GB, free: 7.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.5154, allocations: 133.5 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5155, allocations: 8 kB / 0.732 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5155, allocations: 0 / 0.732 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5155, allocations: 0 / 0.732 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.5156, allocations: 23.92 kB / 0.732 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.5156, allocations: 3.984 kB / 0.732 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.5157, allocations: 23.98 kB / 0.732 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.5157, allocations: 3.953 kB / 0.732 GB, free: 7.203 MB / 0.545 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 7.632e-05/0.5158, allocations: 113.8 kB / 0.7321 GB, free: 7.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.5158, allocations: 7.906 kB / 0.7321 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.5162, allocations: 145.8 kB / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5162, allocations: 0 / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5162, allocations: 0 / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5162, allocations: 4.031 kB / 0.7323 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.5164, allocations: 181.6 kB / 0.7324 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5164, allocations: 0 / 0.7324 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.723e-05/0.5165, allocations: 23.98 kB / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5165, allocations: 0 / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.5165, allocations: 0 / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5165, allocations: 0 / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5165, allocations: 0 / 0.7325 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.5169, allocations: 235.3 kB / 0.7327 GB, free: 6.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.5169, allocations: 89.05 kB / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.5169, allocations: 0 / 0.7328 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.517, allocations: 19.97 kB / 0.7328 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5171, allocations: 8 kB / 0.7328 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5171, allocations: 4 kB / 0.7328 GB, free: 6.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.5171, allocations: 95.27 kB / 0.7329 GB, free: 6.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5171, allocations: 0 / 0.7329 GB, free: 6.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002177/0.5174, allocations: 11.98 kB / 0.7329 GB, free: 6.18 MB / 0.545 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.0001329/0.5175, allocations: 107.2 kB / 0.733 GB, free: 6.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003303/0.5178, allocations: 99.86 kB / 0.7331 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5179, allocations: 0 / 0.7331 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.518, allocations: 51.95 kB / 0.7332 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.5182, allocations: 19.86 kB / 0.7332 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.5186, allocations: 156.7 kB / 0.7333 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5189, allocations: 0.6887 MB / 0.734 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.5189, allocations: 7.859 kB / 0.734 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.519, allocations: 11.44 kB / 0.734 GB, free: 4.988 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.519, allocations: 0 / 0.734 GB, free: 4.988 MB / 0.545 GB Notification: Performance of Templates: time 0.002859/0.5218, allocations: 0.6487 MB / 0.7346 GB, free: 4.348 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: