Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5451/0.5451, allocations: 94.77 MB / 102.2 MB, free: 14.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001036/0.001036, allocations: 175.1 kB / 125.6 MB, free: 7.918 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.48/1.48, allocations: 170.6 MB / 319.4 MB, free: 1.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001765/0.001765, allocations: 114.9 kB / 381.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.228e-05, allocations: 4 kB / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1703, allocations: 61.52 MB / 0.4987 GB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.6413, allocations: 93.37 MB / 0.5898 GB, free: 3.133 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6416, allocations: 73.77 kB / 0.5899 GB, free: 3.094 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003013/0.6446, allocations: 1.048 MB / 0.5909 GB, free: 2.141 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.6446, allocations: 0 / 0.5909 GB, free: 2.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.6446, allocations: 0 / 0.5909 GB, free: 2.141 MB / 394.7 MB 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.000498/0.6451, allocations: 372.6 kB / 0.5913 GB, free: 1.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.6452, allocations: 12.03 kB / 0.5913 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.6452, allocations: 7.891 kB / 0.5913 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6454, allocations: 167 kB / 0.5915 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6454, allocations: 4 kB / 0.5915 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.6454, allocations: 3.938 kB / 0.5915 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.6455, allocations: 34.05 kB / 0.5915 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.6456, allocations: 56.31 kB / 0.5916 GB, free: 1.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6457, allocations: 4 kB / 0.5916 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6457, allocations: 4 kB / 0.5916 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.6457, allocations: 0 / 0.5916 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.6462, allocations: 297.3 kB / 0.5919 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.6463, allocations: 41.75 kB / 0.5919 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.6464, allocations: 37.81 kB / 0.5919 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.6466, allocations: 104.1 kB / 0.592 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.6466, allocations: 34.56 kB / 0.5921 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.6466, allocations: 0 / 0.5921 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002663/0.6469, allocations: 74.89 kB / 0.5921 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6469, allocations: 51.41 kB / 0.5922 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.6471, allocations: 111.9 kB / 0.5923 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.6471, allocations: 25.7 kB / 0.5923 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.6472, allocations: 94.94 kB / 0.5924 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.6472, allocations: 6.531 kB / 0.5924 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.6472, allocations: 0 / 0.5924 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6473, allocations: 318.3 kB / 0.5927 GB, free: 200 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.6474, allocations: 19.42 kB / 0.5927 GB, free: 184 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.6474, allocations: 14.81 kB / 0.5927 GB, free: 176 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.351e-05/0.6475, allocations: 23.16 kB / 0.5928 GB, free: 156 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6475, allocations: 3.938 kB / 0.5928 GB, free: 152 kB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001408/0.6477, allocations: 75.77 kB / 0.5928 GB, free: 80 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.6477, allocations: 7.953 kB / 0.5928 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6477, allocations: 0 / 0.5928 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.6477, allocations: 0 / 0.5928 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.6479, allocations: 27.97 kB / 0.5929 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.6479, allocations: 0 / 0.5929 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.648, allocations: 19.98 kB / 0.5929 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.648, allocations: 4 kB / 0.5929 GB, free: 20 kB / 394.7 MB 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 0.000128/0.6482, allocations: 101 kB / 0.593 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.6482, allocations: 7.906 kB / 0.593 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.6484, allocations: 99.44 kB / 0.5931 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6484, allocations: 240 / 0.5931 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.6484, allocations: 0 / 0.5931 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.6484, allocations: 0 / 0.5931 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.6486, allocations: 162.9 kB / 0.5933 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6486, allocations: 0 / 0.5933 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.6487, allocations: 19.98 kB / 0.5933 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6488, allocations: 3.172 kB / 0.5933 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6488, allocations: 15.06 kB / 0.5933 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6488, allocations: 0 / 0.5933 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6488, allocations: 3.953 kB / 0.5933 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.6491, allocations: 170.2 kB / 0.5935 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.6492, allocations: 84.95 kB / 0.5935 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.6492, allocations: 0 / 0.5935 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.6494, allocations: 19.98 kB / 0.5936 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.6495, allocations: 11.92 kB / 0.5936 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.6495, allocations: 3.953 kB / 0.5936 GB, free: 15.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.208e-05/0.6496, allocations: 99.14 kB / 0.5937 GB, free: 15.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6496, allocations: 0 / 0.5937 GB, free: 15.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.65, allocations: 12 kB / 0.5937 GB, free: 15.18 MB / 410.7 MB 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.0002059/0.6503, allocations: 99.25 kB / 0.5938 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.6504, allocations: 33.55 kB / 0.5938 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6505, allocations: 4 kB / 0.5938 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.6505, allocations: 18.5 kB / 0.5938 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.6508, allocations: 4 kB / 0.5938 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.6512, allocations: 89.42 kB / 0.5939 GB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.6516, allocations: 0.6952 MB / 0.5946 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.401e-05/0.6517, allocations: 0.7812 kB / 0.5946 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.6517, allocations: 19.38 kB / 0.5946 GB, free: 14.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6518, allocations: 0 / 0.5946 GB, free: 14.19 MB / 410.7 MB Notification: Performance of Templates: time 0.004006/0.6558, allocations: 0.5969 MB / 0.5952 GB, free: 13.61 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)