Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0008948/0.0008949, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009004/0.0009004, allocations: 191.2 kB / 16.25 MB, free: 6.637 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.193/1.193, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 251.6 MB / 0.5089 GB, free: 3.328 MB / 414.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.001218/0.001218, allocations: 63.91 kB / 0.6217 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3836, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002312/0.3859, allocations: 1.546 MB / 0.7255 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.3862, allocations: 108.5 kB / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.3862, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3863, allocations: 0 / 0.7256 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.3863, allocations: 11.94 kB / 0.7256 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3865, allocations: 19.98 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.79e-05/0.3866, allocations: 55.72 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.026e-05/0.3867, allocations: 11.98 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.824e-05/0.3867, allocations: 15.98 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.3868, allocations: 27.84 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3868, allocations: 4 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.454e-05/0.3868, allocations: 19.98 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.3869, allocations: 11.98 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.3869, allocations: 23.88 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.387, allocations: 55.8 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3871, allocations: 4 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3871, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.3871, allocations: 0 / 0.7258 GB, free: 11.18 MB / 0.545 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.0004472/0.3875, allocations: 377.2 kB / 0.7262 GB, free: 10.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.3876, allocations: 12.03 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.3876, allocations: 4.844 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3877, allocations: 180.2 kB / 0.7264 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.3877, allocations: 8.375 kB / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.3877, allocations: 384 / 0.7264 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.388, allocations: 74.16 kB / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.21e-06/0.388, allocations: 192 / 0.7265 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.388, allocations: 7.938 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.388, allocations: 0 / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.3882, allocations: 79.91 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.3886, allocations: 280.9 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3888, allocations: 70.41 kB / 0.7269 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3889, allocations: 48.91 kB / 0.7269 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.3891, allocations: 105.1 kB / 0.727 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.3891, allocations: 38.56 kB / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3891, allocations: 0 / 0.7271 GB, free: 9.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004798/0.3896, allocations: 145.5 kB / 0.7272 GB, free: 9.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3897, allocations: 55.34 kB / 0.7273 GB, free: 9.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.3897, allocations: 125.8 kB / 0.7274 GB, free: 9.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.3898, allocations: 29.7 kB / 0.7274 GB, free: 9.352 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.3898, allocations: 88.14 kB / 0.7275 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3898, allocations: 15.83 kB / 0.7275 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.3899, allocations: 17.72 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.39, allocations: 318.8 kB / 0.7278 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3901, allocations: 39.95 kB / 0.7279 GB, free: 8.863 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.3902, allocations: 39.95 kB / 0.7279 GB, free: 8.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.3905, allocations: 85.05 kB / 0.728 GB, free: 8.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3905, allocations: 3.938 kB / 0.728 GB, free: 8.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002779/0.3908, allocations: 109.5 kB / 0.7281 GB, free: 8.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3908, allocations: 7.938 kB / 0.7281 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3908, allocations: 7.938 kB / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.3908, allocations: 0 / 0.7281 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3909, allocations: 19.97 kB / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.391, allocations: 0 / 0.7281 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.391, allocations: 11.98 kB / 0.7281 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.391, allocations: 0 / 0.7281 GB, free: 8.574 MB / 0.545 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 6.645e-05/0.3911, allocations: 117.8 kB / 0.7283 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3911, allocations: 11.91 kB / 0.7283 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3915, allocations: 121.5 kB / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3915, allocations: 0 / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.3915, allocations: 0 / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3915, allocations: 0 / 0.7284 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.3916, allocations: 185.6 kB / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3917, allocations: 0 / 0.7286 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.3917, allocations: 19.92 kB / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3918, allocations: 0 / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3918, allocations: 7.938 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3918, allocations: 0 / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3918, allocations: 3.984 kB / 0.7286 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3921, allocations: 207.3 kB / 0.7288 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.225e-05/0.3921, allocations: 89.09 kB / 0.7289 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.3921, allocations: 0 / 0.7289 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.3922, allocations: 11.98 kB / 0.7289 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.3923, allocations: 0 / 0.7289 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.3923, allocations: 0 / 0.7289 GB, free: 7.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.3923, allocations: 106.5 kB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3924, allocations: 4 kB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002037/0.3926, allocations: 11.91 kB / 0.729 GB, free: 7.594 MB / 0.545 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 0.0001103/0.3927, allocations: 107.2 kB / 0.7291 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.393, allocations: 75.92 kB / 0.7292 GB, free: 7.406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.393, allocations: 0 / 0.7292 GB, free: 7.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3931, allocations: 47.95 kB / 0.7292 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3933, allocations: 3.938 kB / 0.7292 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.3936, allocations: 173.4 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.3939, allocations: 0.6846 MB / 0.7301 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.3939, allocations: 7.859 kB / 0.7301 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.3939, allocations: 11.44 kB / 0.7301 GB, free: 6.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3939, allocations: 3.938 kB / 0.7301 GB, free: 6.426 MB / 0.545 GB Notification: Performance of Templates: time 0.002337/0.3963, allocations: 0.6984 MB / 0.7308 GB, free: 5.73 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)