Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.539/2.539, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001408/0.001407, allocations: 182 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.0009374/0.0009373, allocations: 87.31 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 16.91 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001765/0.2511, allocations: 1.191 MB / 0.9795 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003073/0.2514, allocations: 108.5 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.68e-05/0.2515, allocations: 0 / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.154e-05/0.2515, allocations: 3.984 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.2516, allocations: 7.938 kB / 0.9796 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.2518, allocations: 15.98 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.2519, allocations: 39.86 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/0.252, allocations: 11.92 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.252, allocations: 19.92 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.2521, allocations: 19.92 kB / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2521, allocations: 0 / 0.9797 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-05/0.2522, allocations: 19.98 kB / 0.9798 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.2522, allocations: 11.97 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.2523, allocations: 33.64 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.656e-05/0.2524, allocations: 35.94 kB / 0.9798 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2524, allocations: 4 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2524, allocations: 0 / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2524, allocations: 0 / 0.9798 GB, free: 26.81 MB / 0.6198 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.0005784/0.253, allocations: 383.3 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2531, allocations: 16.02 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.2531, allocations: 3.906 kB / 0.9802 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.2532, allocations: 168.9 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2532, allocations: 4 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2533, allocations: 4 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.2537, allocations: 89.58 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2537, allocations: 0 / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2537, allocations: 4 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2537, allocations: 0 / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.2542, allocations: 95.92 kB / 0.9806 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.2547, allocations: 300.7 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.255, allocations: 82.47 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/0.2553, allocations: 48.92 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.2556, allocations: 105.1 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.2556, allocations: 34.56 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.2556, allocations: 3.938 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009066/0.2565, allocations: 185.5 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2566, allocations: 51.41 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2567, allocations: 125.8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2567, allocations: 29.7 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2568, allocations: 104 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.2568, allocations: 3.906 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2568, allocations: 3.938 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.08e-05/0.2569, allocations: 322.8 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.2571, allocations: 43.97 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.2574, allocations: 47.95 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2577, allocations: 47.97 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2577, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005819/0.2583, allocations: 137.5 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2584, allocations: 4 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2584, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.2584, allocations: 0 / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.2586, allocations: 23.98 kB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2586, allocations: 3.984 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2588, allocations: 19.98 kB / 0.9822 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2588, allocations: 3.953 kB / 0.9822 GB, free: 24.13 MB / 0.6198 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.826e-05/0.2589, allocations: 117.8 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.2589, allocations: 4 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.2596, allocations: 141.5 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2596, allocations: 4 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2596, allocations: 0 / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2596, allocations: 0 / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.2598, allocations: 185.5 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2598, allocations: 0 / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.26, allocations: 23.98 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.26, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.26, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.26, allocations: 4 kB / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2601, allocations: 0 / 0.9827 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.2607, allocations: 235.4 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.2607, allocations: 81.02 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2607, allocations: 0 / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2609, allocations: 19.97 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.261, allocations: 8 kB / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.261, allocations: 0 / 0.983 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.2611, allocations: 99.89 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2611, allocations: 0 / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003149/0.2614, allocations: 15.92 kB / 0.9831 GB, free: 23.11 MB / 0.6198 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.0001476/0.2616, allocations: 112.2 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.2622, allocations: 100.3 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2622, allocations: 0 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.2625, allocations: 59.95 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2628, allocations: 3.953 kB / 0.9834 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.2632, allocations: 160.7 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.2634, allocations: 0.6927 MB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.657e-05/0.2634, allocations: 0 / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.2635, allocations: 15.44 kB / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/0.2635, allocations: 0 / 0.9842 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.003484/0.267, allocations: 0.6474 MB / 0.9849 GB, free: 21.27 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)