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 1.651/1.651, allocations: 287.5 MB / 302.6 MB, free: 8.391 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.001062/0.001062, allocations: 183.9 kB / 371.2 MB, free: 10.81 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.529/1.529, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0009161/0.0009161, allocations: 88.88 kB / 0.7432 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004461, allocations: 15.25 kB / 0.8661 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001904/0.284, allocations: 1.195 MB / 0.9798 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.2845, allocations: 108.6 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.2846, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.664e-05/0.2847, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.2848, allocations: 11.92 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.2852, allocations: 19.92 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.2853, allocations: 35.86 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2854, allocations: 15.98 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.488e-05/0.2855, allocations: 15.92 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.325e-05/0.2855, allocations: 23.91 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2855, allocations: 0 / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.371e-05/0.2856, allocations: 19.98 kB / 0.9801 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.2857, allocations: 11.92 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.2857, allocations: 29.7 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.924e-05/0.2858, allocations: 35.94 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.2858, allocations: 0 / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2858, allocations: 4 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2858, allocations: 0 / 0.9802 GB, free: 26.64 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.0005263/0.2864, allocations: 379.5 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.2864, allocations: 11.97 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.2865, allocations: 8.844 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2866, allocations: 176.3 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2866, allocations: 384 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2866, allocations: 16.36 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.2869, allocations: 86.2 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2869, allocations: 192 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.287, allocations: 3.938 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.287, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.2873, allocations: 95.92 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2877, allocations: 288.8 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.2879, allocations: 82.47 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.288, allocations: 52.91 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.2883, allocations: 105.1 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2883, allocations: 34.56 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2883, allocations: 3.938 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.2888, allocations: 185.4 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2889, allocations: 51.41 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.289, allocations: 127 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.289, allocations: 29.7 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.2891, allocations: 92.12 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/0.2891, allocations: 11.84 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.2891, allocations: 0 / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.564e-05/0.2892, allocations: 314.8 kB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2894, allocations: 51.95 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.2895, allocations: 47.95 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.2897, allocations: 100.8 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2898, allocations: 3.938 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003053/0.2901, allocations: 133.5 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2901, allocations: 12 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2901, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.2901, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2903, allocations: 23.97 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2903, allocations: 0 / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.2904, allocations: 15.98 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2904, allocations: 4 kB / 0.9826 GB, free: 23.9 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.593e-05/0.2905, allocations: 121.8 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.2905, allocations: 7.906 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.2909, allocations: 141.8 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2909, allocations: 4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.2909, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2909, allocations: 48 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.2911, allocations: 185.6 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2911, allocations: 0 / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.2912, allocations: 27.98 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2912, allocations: 0 / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.2912, allocations: 4 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2912, allocations: 0 / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2912, allocations: 3.984 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.2916, allocations: 231.3 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.2916, allocations: 81.09 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.2916, allocations: 8 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2917, allocations: 15.98 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.2918, allocations: 0 / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2918, allocations: 4 kB / 0.9834 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.2919, allocations: 101.4 kB / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.31e-07/0.2919, allocations: 0 / 0.9835 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002137/0.2921, allocations: 23.78 kB / 0.9835 GB, free: 22.86 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.0001633/0.2923, allocations: 107.2 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.2926, allocations: 103.9 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2926, allocations: 0 / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.2928, allocations: 51.89 kB / 0.9838 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2931, allocations: 15.94 kB / 0.9838 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.2934, allocations: 156.7 kB / 0.9839 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.2936, allocations: 0.6848 MB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.2937, allocations: 8 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.2937, allocations: 7.438 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2937, allocations: 0 / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.003416/0.2971, allocations: 0.6431 MB / 0.9852 GB, free: 21.04 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)