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.694/1.694, allocations: 289.7 MB / 302.2 MB, free: 2.227 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.001169/0.001169, allocations: 184.7 kB / 371.6 MB, free: 3.379 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.953/1.953, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001094/0.001094, allocations: 92 kB / 0.745 GB, free: 54.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.307e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.266, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7841/1.05, allocations: 138.9 MB / 1.115 GB, free: 44.75 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.051, allocations: 73.94 kB / 1.115 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002964/1.054, allocations: 1.077 MB / 1.117 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/1.054, allocations: 0 / 1.117 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.054, allocations: 0 / 1.117 GB, free: 43.99 MB / 0.7448 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.0003966/1.054, allocations: 369.9 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.054, allocations: 12.03 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/1.054, allocations: 4.062 kB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/1.054, allocations: 172.2 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.054, allocations: 7.375 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/1.054, allocations: 6.781 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/1.054, allocations: 48.48 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.054, allocations: 0 / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/1.054, allocations: 4.797 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.054, allocations: 0 / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.338e-05/1.055, allocations: 39.48 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005117/1.055, allocations: 322.3 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.602e-05/1.055, allocations: 47.67 kB / 1.118 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/1.055, allocations: 27 kB / 1.118 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/1.055, allocations: 103.9 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/1.055, allocations: 37.69 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.055, allocations: 0 / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.000189/1.056, allocations: 71.66 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/1.056, allocations: 58.58 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/1.056, allocations: 111.3 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/1.056, allocations: 25.7 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/1.056, allocations: 94.5 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.056, allocations: 7.812 kB / 1.118 GB, free: 42.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/1.056, allocations: 4 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.954e-05/1.056, allocations: 321.5 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/1.056, allocations: 14.94 kB / 1.118 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/1.056, allocations: 14.92 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/1.056, allocations: 18.73 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.056, allocations: 7.938 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001015/1.056, allocations: 59.11 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.056, allocations: 13.12 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.056, allocations: 1.984 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.056, allocations: 0 / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/1.056, allocations: 19.56 kB / 1.119 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/1.056, allocations: 4 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/1.056, allocations: 22.06 kB / 1.119 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/1.057, allocations: 0.5625 kB / 1.119 GB, free: 41.97 MB / 0.7448 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 () * 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 4.93e-05/1.057, allocations: 113.9 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/1.057, allocations: 3.906 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/1.057, allocations: 87.64 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/1.057, allocations: 4 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.057, allocations: 0 / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.057, allocations: 0 / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/1.057, allocations: 182.9 kB / 1.119 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.057, allocations: 4 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/1.057, allocations: 19.22 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.057, allocations: 4.516 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.057, allocations: 4.047 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.057, allocations: 0 / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.057, allocations: 4 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/1.057, allocations: 169 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/1.057, allocations: 93.92 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.057, allocations: 3.188 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/1.057, allocations: 16.02 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/1.058, allocations: 7.469 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/1.058, allocations: 4 kB / 1.119 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.62e-05/1.058, allocations: 99.66 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/1.058, allocations: 0 / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001998/1.058, allocations: 12 kB / 1.119 GB, free: 41.17 MB / 0.7448 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 () * 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.0001384/1.058, allocations: 99.77 kB / 1.119 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001053/1.058, allocations: 36.05 kB / 1.119 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.058, allocations: 3 kB / 1.119 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/1.058, allocations: 22.81 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/1.058, allocations: 12.92 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/1.059, allocations: 88.83 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/1.059, allocations: 0.691 MB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.571e-05/1.059, allocations: 11.48 kB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/1.059, allocations: 7.438 kB / 1.12 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.059, allocations: 4 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.002584/1.061, allocations: 0.6421 MB / 1.121 GB, free: 39.86 MB / 0.7448 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)