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.5507/0.5507, allocations: 95.61 MB / 110.6 MB, free: 9.398 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.001164/0.001164, allocations: 164.2 kB / 134.2 MB, free: 2.273 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.424/1.424, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001606/0.001606, allocations: 107.3 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 61.53 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5636, allocations: 93.76 MB / 0.6035 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.5638, allocations: 71.52 kB / 0.6036 GB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003213/0.5671, allocations: 1.059 MB / 0.6046 GB, free: 12.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5671, allocations: 0 / 0.6046 GB, free: 12.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.5671, allocations: 0 / 0.6046 GB, free: 12.54 MB / 410.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.0005011/0.5676, allocations: 381.9 kB / 0.605 GB, free: 12.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5677, allocations: 15.98 kB / 0.605 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.5677, allocations: 4 kB / 0.605 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.5679, allocations: 178.8 kB / 0.6052 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.5679, allocations: 0 / 0.6052 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5679, allocations: 0 / 0.6052 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.5682, allocations: 95.78 kB / 0.6053 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5682, allocations: 0 / 0.6053 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5682, allocations: 0 / 0.6053 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5683, allocations: 0 / 0.6053 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.5686, allocations: 104.5 kB / 0.6054 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.5692, allocations: 315.9 kB / 0.6057 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.5694, allocations: 86.72 kB / 0.6058 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.5696, allocations: 105.2 kB / 0.6059 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.5696, allocations: 38.55 kB / 0.6059 GB, free: 11.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.5696, allocations: 0 / 0.6059 GB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005806/0.5702, allocations: 185.3 kB / 0.6061 GB, free: 10.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.5703, allocations: 63.28 kB / 0.6061 GB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.241e-05/0.5704, allocations: 113.4 kB / 0.6062 GB, free: 10.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.5704, allocations: 25.7 kB / 0.6063 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.5705, allocations: 93.81 kB / 0.6064 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.5705, allocations: 15.31 kB / 0.6064 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5705, allocations: 4 kB / 0.6064 GB, free: 10.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5706, allocations: 310.8 kB / 0.6067 GB, free: 10.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.5708, allocations: 54.7 kB / 0.6067 GB, free: 10.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.571, allocations: 46.83 kB / 0.6068 GB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5711, allocations: 51.27 kB / 0.6068 GB, free: 10.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5711, allocations: 0 / 0.6068 GB, free: 10.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003461/0.5715, allocations: 142.9 kB / 0.607 GB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5715, allocations: 4 kB / 0.607 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5715, allocations: 0 / 0.607 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.5716, allocations: 6.844 kB / 0.607 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5717, allocations: 27.91 kB / 0.607 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5717, allocations: 4 kB / 0.607 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.5718, allocations: 15.98 kB / 0.607 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.5718, allocations: 0 / 0.607 GB, free: 10.01 MB / 410.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 () * 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 8.678e-05/0.5719, allocations: 117.2 kB / 0.6071 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.572, allocations: 15.84 kB / 0.6071 GB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.5724, allocations: 151.2 kB / 0.6073 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5724, allocations: 0 / 0.6073 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5724, allocations: 0 / 0.6073 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5724, allocations: 0 / 0.6073 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.5726, allocations: 179.7 kB / 0.6075 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.5726, allocations: 0 / 0.6075 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.5727, allocations: 23.92 kB / 0.6075 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.5727, allocations: 4 kB / 0.6075 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.5727, allocations: 7.938 kB / 0.6075 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5727, allocations: 0 / 0.6075 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5727, allocations: 0 / 0.6075 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.5731, allocations: 229.2 kB / 0.6077 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.5732, allocations: 85.02 kB / 0.6078 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.5732, allocations: 0 / 0.6078 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5733, allocations: 23.94 kB / 0.6078 GB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.5734, allocations: 7.984 kB / 0.6078 GB, free: 9.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5734, allocations: 3.375 kB / 0.6078 GB, free: 9.125 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.28e-05/0.5735, allocations: 102.8 kB / 0.6079 GB, free: 9.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.452e-06/0.5735, allocations: 0 / 0.6079 GB, free: 9.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.5737, allocations: 19.56 kB / 0.6079 GB, free: 9.012 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 () * 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.0001685/0.5739, allocations: 103.2 kB / 0.608 GB, free: 8.902 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.5742, allocations: 105.7 kB / 0.6081 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5743, allocations: 4 kB / 0.6081 GB, free: 8.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.5744, allocations: 51.58 kB / 0.6082 GB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.5746, allocations: 11.25 kB / 0.6082 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.575, allocations: 155.7 kB / 0.6084 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.5753, allocations: 0.692 MB / 0.609 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.619e-05/0.5753, allocations: 4.703 kB / 0.609 GB, free: 7.855 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.5754, allocations: 7.438 kB / 0.609 GB, free: 7.848 MB / 410.7 MB Notification: Performance of SimCode: time 2.013e-06/0.5754, allocations: 0 / 0.609 GB, free: 7.848 MB / 410.7 MB Notification: Performance of Templates: time 0.002617/0.578, allocations: 0.6543 MB / 0.6097 GB, free: 7.215 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)