Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001063/0.001063, allocations: 181 kB / 371.8 MB, free: 10.29 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.456/1.456, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009831/0.0009828, allocations: 90.02 kB / 0.7439 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 15.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2664, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8224/1.089, allocations: 138 MB / 1.114 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.089, allocations: 76.7 kB / 1.114 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00364/1.093, allocations: 1.067 MB / 1.115 GB, free: 32.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.093, allocations: 0 / 1.115 GB, free: 32.21 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.363e-06/1.093, allocations: 3.781 kB / 1.115 GB, free: 32.21 MB / 0.698 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.0004839/1.093, allocations: 391.9 kB / 1.116 GB, free: 31.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.093, allocations: 11.67 kB / 1.116 GB, free: 31.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/1.093, allocations: 3.844 kB / 1.116 GB, free: 31.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.094, allocations: 185.3 kB / 1.116 GB, free: 31.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.094, allocations: 4 kB / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/1.094, allocations: 7 kB / 1.116 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/1.094, allocations: 83.64 kB / 1.116 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.094, allocations: 0 / 1.116 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.094, allocations: 3.562 kB / 1.116 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.094, allocations: 0 / 1.116 GB, free: 31.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/1.094, allocations: 109.2 kB / 1.116 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/1.095, allocations: 318.1 kB / 1.116 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/1.095, allocations: 81.94 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.095, allocations: 101.5 kB / 1.117 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.095, allocations: 33.05 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/1.095, allocations: 4 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005555/1.096, allocations: 188.9 kB / 1.117 GB, free: 31.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.096, allocations: 51.41 kB / 1.117 GB, free: 31.04 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/1.096, allocations: 116.4 kB / 1.117 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/1.096, allocations: 25.7 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/1.096, allocations: 94.83 kB / 1.117 GB, free: 30.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/1.096, allocations: 16.83 kB / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/1.096, allocations: 0 / 1.117 GB, free: 30.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.096, allocations: 324.2 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/1.096, allocations: 54.22 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/1.097, allocations: 46.77 kB / 1.117 GB, free: 30.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/1.097, allocations: 51.09 kB / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.097, allocations: 0 / 1.118 GB, free: 30.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003219/1.097, allocations: 139.5 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.097, allocations: 3.844 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.097, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.097, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/1.097, allocations: 20.8 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.097, allocations: 7.781 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/1.097, allocations: 20.03 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/1.097, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 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.0001038/1.097, allocations: 116.5 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/1.098, allocations: 10.92 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/1.098, allocations: 151.9 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/1.098, allocations: 384 / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.098, allocations: 4 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.098, allocations: 3.875 kB / 1.118 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/1.098, allocations: 183 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/1.098, allocations: 0 / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.098, allocations: 24.27 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.098, allocations: 0 / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.098, allocations: 10.14 kB / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.098, allocations: 0 / 1.118 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.098, allocations: 4 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/1.099, allocations: 233.1 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/1.099, allocations: 84.95 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/1.099, allocations: 0 / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.099, allocations: 21.47 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/1.099, allocations: 3.906 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/1.099, allocations: 7.562 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.691e-05/1.099, allocations: 103 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002269/1.099, allocations: 7.5 kB / 1.119 GB, free: 29.75 MB / 0.698 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.000237/1.1, allocations: 106 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000393/1.1, allocations: 101.9 kB / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.1, allocations: 0 / 1.119 GB, free: 29.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/1.1, allocations: 59.61 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.1, allocations: 7.469 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/1.101, allocations: 161 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/1.101, allocations: 0.69 MB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.8e-05/1.101, allocations: 4 kB / 1.12 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/1.101, allocations: 11.28 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/1.101, allocations: 0 / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of Templates: time 0.0036/1.105, allocations: 0.6425 MB / 1.12 GB, free: 28.76 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)