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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001216/0.001215, allocations: 189 kB / 377.1 MB, free: 1.52 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.489/1.489, allocations: 205.4 MB / 0.6367 GB, free: 9.465 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.0008198/0.0008197, allocations: 95.08 kB / 0.751 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 11.98 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2747, allocations: 116.3 MB / 0.9884 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7952/1.07, allocations: 139 MB / 1.124 GB, free: 35.78 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.07, allocations: 70.45 kB / 1.124 GB, free: 35.72 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003053/1.073, allocations: 1.07 MB / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/1.073, allocations: 0 / 1.125 GB, free: 34.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.528e-06/1.073, allocations: 0 / 1.125 GB, free: 34.9 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.0004386/1.074, allocations: 386.4 kB / 1.126 GB, free: 34.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/1.074, allocations: 12.02 kB / 1.126 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/1.074, allocations: 9.531 kB / 1.126 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/1.074, allocations: 178.9 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/1.074, allocations: 4 kB / 1.126 GB, free: 34.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.074, allocations: 8 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/1.074, allocations: 88.06 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.074, allocations: 0 / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.074, allocations: 0.75 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.074, allocations: 1.719 kB / 1.126 GB, free: 34.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/1.075, allocations: 97.38 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004937/1.075, allocations: 329.3 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/1.075, allocations: 80.97 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.076, allocations: 104 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/1.076, allocations: 34.56 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.076, allocations: 4 kB / 1.126 GB, free: 33.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005495/1.076, allocations: 189.5 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.076, allocations: 55.39 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.773e-05/1.076, allocations: 114.1 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/1.076, allocations: 25.7 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/1.076, allocations: 95.61 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/1.076, allocations: 19.73 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.076, allocations: 0 / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/1.076, allocations: 326.8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/1.077, allocations: 46.31 kB / 1.127 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/1.077, allocations: 46.08 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.077, allocations: 57.55 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.077, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003087/1.077, allocations: 135.6 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.077, allocations: 4.844 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.077, allocations: 3.938 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.077, allocations: 0 / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.077, allocations: 20.19 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.077, allocations: 7.281 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/1.078, allocations: 16.25 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/1.078, allocations: 4 kB / 1.128 GB, free: 32.46 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 7.014e-05/1.078, allocations: 122.8 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/1.078, allocations: 3.906 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/1.078, allocations: 149.8 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.078, allocations: 0 / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.078, allocations: 4 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.078, allocations: 0.5 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/1.078, allocations: 181.5 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.078, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/1.078, allocations: 25.17 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.078, allocations: 3.891 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.078, allocations: 4 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/1.078, allocations: 0 / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.078, allocations: 4 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/1.079, allocations: 236.6 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/1.079, allocations: 81.02 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/1.079, allocations: 5 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.079, allocations: 18.8 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/1.079, allocations: 4.031 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.079, allocations: 8 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.473e-05/1.079, allocations: 99.75 kB / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.079, allocations: 0 / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002097/1.079, allocations: 8 kB / 1.128 GB, free: 31.52 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.0001571/1.079, allocations: 115.1 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003456/1.08, allocations: 100.6 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.08, allocations: 0.5625 kB / 1.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/1.08, allocations: 54.92 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/1.08, allocations: 8.656 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/1.08, allocations: 168.6 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/1.081, allocations: 0.6918 MB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.257e-05/1.081, allocations: 4 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/1.081, allocations: 7.438 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/1.081, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.002696/1.083, allocations: 0.6379 MB / 1.13 GB, free: 30.03 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)