Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 293 MB / 309 MB, free: 4.789 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 176 kB / 378.7 MB, free: 1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 0.6383 GB, free: 9.152 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 89.94 kB / 0.7527 GB, free: 62.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2373, allocations: 116.4 MB / 0.9904 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6618/0.8991, allocations: 139.1 MB / 1.126 GB, free: 34.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.8994, allocations: 74.45 kB / 1.126 GB, free: 34.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002801/0.9022, allocations: 1.08 MB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.876e-06/0.9022, allocations: 0.6562 kB / 1.127 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.9023, allocations: 0 / 1.127 GB, free: 33.93 MB / 0.7292 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.0003979/0.9027, allocations: 394.7 kB / 1.128 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9027, allocations: 8.031 kB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.9028, allocations: 5.5 kB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.735e-05/0.9029, allocations: 179.3 kB / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.9029, allocations: 384 / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.9029, allocations: 9.062 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.9032, allocations: 90.06 kB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9032, allocations: 192 / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.9032, allocations: 3.938 kB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.9032, allocations: 4 kB / 1.128 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.9035, allocations: 98.36 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.904, allocations: 321 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.9042, allocations: 88.47 kB / 1.129 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.9043, allocations: 56.44 kB / 1.129 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.9045, allocations: 100.1 kB / 1.129 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.9045, allocations: 42.56 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.9045, allocations: 0.6562 kB / 1.129 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000499/0.905, allocations: 183.6 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.905, allocations: 55.34 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.9051, allocations: 125.4 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.9051, allocations: 33.42 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.9052, allocations: 96.12 kB / 1.129 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.9052, allocations: 11.31 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.9052, allocations: 0 / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.9053, allocations: 318.8 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.9054, allocations: 47.3 kB / 1.13 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.9055, allocations: 55.52 kB / 1.13 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.9058, allocations: 101.9 kB / 1.13 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9058, allocations: 7.938 kB / 1.13 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003099/0.9061, allocations: 134 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.9061, allocations: 8 kB / 1.13 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9061, allocations: 4 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9062, allocations: 0 / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.9063, allocations: 28.38 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.9063, allocations: 0 / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.9064, allocations: 15.56 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.9064, allocations: 4 kB / 1.13 GB, free: 31.38 MB / 0.7292 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 5.974e-05/0.9065, allocations: 125.1 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.9065, allocations: 8.531 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.9069, allocations: 150.4 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9069, allocations: 0.8438 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9069, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9069, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.907, allocations: 183.4 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.907, allocations: 0.5 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.89e-05/0.9071, allocations: 27.08 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9071, allocations: 0 / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.9072, allocations: 4.75 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9072, allocations: 0 / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9072, allocations: 0.6562 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.9075, allocations: 236.3 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.9075, allocations: 77.11 kB / 1.131 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.9075, allocations: 11.38 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.9076, allocations: 13.56 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.9077, allocations: 8.078 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.9077, allocations: 4 kB / 1.131 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.9077, allocations: 100.4 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9077, allocations: 0 / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002029/0.9079, allocations: 8 kB / 1.131 GB, free: 30.44 MB / 0.7292 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.0001245/0.9081, allocations: 122.5 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.9084, allocations: 100.8 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.9084, allocations: 0 / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.9085, allocations: 50.5 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.9087, allocations: 18.94 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.9091, allocations: 156.4 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.9092, allocations: 0.6877 MB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.17e-05/0.9092, allocations: 8.453 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.199e-05/0.9092, allocations: 11.44 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9093, allocations: 0 / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.002438/0.9117, allocations: 0.6334 MB / 1.133 GB, free: 28.95 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)