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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 105.5 kB / 16.29 MB, free: 5.977 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.0012/0.0012, allocations: 178.8 kB / 17.22 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 292.3 MB / 0.5495 GB, free: 17.6 MB / 462.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.001288/0.001288, allocations: 67.89 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1961, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002604/0.1987, allocations: 1.481 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.199, allocations: 108.4 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.1991, allocations: 4 kB / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.1991, allocations: 0 / 0.7856 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.1992, allocations: 11.88 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.1994, allocations: 27.95 kB / 0.7857 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.1995, allocations: 43.84 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.151e-05/0.1996, allocations: 8 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.1996, allocations: 19.92 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.499e-05/0.1997, allocations: 23.91 kB / 0.7858 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1997, allocations: 4 kB / 0.7858 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.1998, allocations: 23.98 kB / 0.7858 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.1998, allocations: 19.92 kB / 0.7858 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1999, allocations: 19.88 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.2, allocations: 55.8 kB / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2, allocations: 0 / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2, allocations: 0 / 0.7859 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2, allocations: 0 / 0.7859 GB, free: 2.016 MB / 0.6544 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.0004567/0.2004, allocations: 379.5 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2005, allocations: 12.03 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.2005, allocations: 8.844 kB / 0.7862 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2006, allocations: 172.3 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.2006, allocations: 12.31 kB / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2007, allocations: 384 / 0.7864 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.2009, allocations: 70.22 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2009, allocations: 4.188 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.2009, allocations: 11.86 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.2009, allocations: 0 / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002493/0.2012, allocations: 79.92 kB / 0.7866 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.2015, allocations: 292.8 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2017, allocations: 70.41 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.2018, allocations: 48.91 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/0.202, allocations: 105.1 kB / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2021, allocations: 38.56 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2021, allocations: 0 / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.2025, allocations: 145.5 kB / 0.7873 GB, free: 416 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2026, allocations: 51.41 kB / 0.7873 GB, free: 352 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2027, allocations: 125.8 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2027, allocations: 29.7 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2028, allocations: 96.05 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2028, allocations: 11.89 kB / 0.7876 GB, free: 68 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.2029, allocations: 13.72 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3045/0.5074, allocations: 314.8 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.5076, allocations: 37.17 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5077, allocations: 39.39 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.5079, allocations: 81.42 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.508, allocations: 3.75 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000269/0.5082, allocations: 114.1 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5083, allocations: 5.438 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5083, allocations: 0 / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5083, allocations: 0 / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.5084, allocations: 17.03 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5084, allocations: 0 / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.5085, allocations: 14.69 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.5085, allocations: 3.156 kB / 0.7882 GB, free: 48.55 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.5086, allocations: 114.7 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.5086, allocations: 10.19 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.5089, allocations: 121.1 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5089, allocations: 0.9375 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5089, allocations: 3.938 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5089, allocations: 0 / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.509, allocations: 176.3 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.509, allocations: 0 / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.685e-05/0.5091, allocations: 19.89 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5091, allocations: 1.406 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.5091, allocations: 0 / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5091, allocations: 0 / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5091, allocations: 5.625 kB / 0.7886 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.5094, allocations: 208.7 kB / 0.7888 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.5094, allocations: 82.59 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.5094, allocations: 0 / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.736e-05/0.5095, allocations: 14.92 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5096, allocations: 9.547 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.5096, allocations: 2.688 kB / 0.7889 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.5096, allocations: 101.1 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 1.5 kB / 0.789 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002135/0.5098, allocations: 13.5 kB / 0.789 GB, free: 47.91 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.964e-05/0.51, allocations: 108.8 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.5102, allocations: 77.2 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.5102, allocations: 2.625 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.5104, allocations: 38.81 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.5106, allocations: 12.55 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.5108, allocations: 140.9 kB / 0.7894 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.69e-05/0.5109, allocations: 0.6865 MB / 0.79 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.511, allocations: 5.375 kB / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.511, allocations: 12.06 kB / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.511, allocations: 0 / 0.7901 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002501/0.5135, allocations: 0.7961 MB / 0.7908 GB, free: 47.02 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)