Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7386/0.7386, allocations: 140 MB / 156 MB, free: 8.414 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 176.5 kB / 188.5 MB, free: 9.016 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 426.3 MB, free: 8.148 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 86.41 kB / 0.4945 GB, free: 8.078 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00168/0.00168, allocations: 272 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 20 kB / 0.662 GB, free: 6.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3489, allocations: 79.3 MB / 0.7395 GB, free: 46.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.4798, allocations: 107.2 MB / 0.8441 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4801, allocations: 79.95 kB / 0.8442 GB, free: 2.934 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003126/0.4832, allocations: 1.073 MB / 0.8452 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4833, allocations: 0 / 0.8452 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4833, allocations: 4 kB / 0.8452 GB, free: 1.855 MB / 0.5105 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.0004343/0.4837, allocations: 381.8 kB / 0.8456 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4838, allocations: 16.03 kB / 0.8456 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.4838, allocations: 0.9375 kB / 0.8456 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.4839, allocations: 189 kB / 0.8458 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.484, allocations: 4.375 kB / 0.8458 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.484, allocations: 4.375 kB / 0.8458 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.4842, allocations: 90.2 kB / 0.8459 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4843, allocations: 192 / 0.8459 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4843, allocations: 3.938 kB / 0.8459 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4843, allocations: 0 / 0.8459 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.4846, allocations: 103.9 kB / 0.846 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.4851, allocations: 316.9 kB / 0.8463 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.4853, allocations: 82.41 kB / 0.8464 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4855, allocations: 60.91 kB / 0.8464 GB, free: 488 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.4856, allocations: 105.1 kB / 0.8465 GB, free: 364 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4857, allocations: 34.55 kB / 0.8466 GB, free: 320 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.4857, allocations: 4 kB / 0.8466 GB, free: 316 kB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006228/0.4863, allocations: 189.4 kB / 0.8467 GB, free: 120 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4864, allocations: 51.41 kB / 0.8468 GB, free: 56 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4865, allocations: 128 kB / 0.8469 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4865, allocations: 29.7 kB / 0.8469 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.4866, allocations: 88.14 kB / 0.847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4866, allocations: 19.83 kB / 0.847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.4866, allocations: 0 / 0.847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4867, allocations: 314.8 kB / 0.8473 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4869, allocations: 51.89 kB / 0.8474 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.487, allocations: 51.95 kB / 0.8474 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.4873, allocations: 100.8 kB / 0.8475 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4873, allocations: 3.938 kB / 0.8475 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003284/0.4877, allocations: 145.4 kB / 0.8477 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4877, allocations: 4 kB / 0.8477 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4877, allocations: 0 / 0.8477 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4877, allocations: 4 kB / 0.8477 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4879, allocations: 19.98 kB / 0.8477 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4879, allocations: 0 / 0.8477 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.488, allocations: 15.98 kB / 0.8477 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.488, allocations: 8 kB / 0.8477 GB, free: 15.05 MB / 0.5261 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 8.301e-05/0.4881, allocations: 125.8 kB / 0.8479 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4881, allocations: 7.906 kB / 0.8479 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.4885, allocations: 157.4 kB / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4885, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4885, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4885, allocations: 0 / 0.848 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4887, allocations: 189.6 kB / 0.8482 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4887, allocations: 0 / 0.8482 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.4888, allocations: 23.98 kB / 0.8482 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4888, allocations: 0 / 0.8482 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4889, allocations: 0 / 0.8482 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.4889, allocations: 0 / 0.8482 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4889, allocations: 0 / 0.8482 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.4893, allocations: 235.3 kB / 0.8484 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.4893, allocations: 81.11 kB / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.4893, allocations: 0 / 0.8485 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4894, allocations: 23.98 kB / 0.8485 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4895, allocations: 4.406 kB / 0.8485 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.4895, allocations: 4 kB / 0.8486 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.4896, allocations: 99.2 kB / 0.8486 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.4896, allocations: 0 / 0.8486 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000213/0.4898, allocations: 16 kB / 0.8487 GB, free: 14 MB / 0.5261 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.0001987/0.49, allocations: 111.2 kB / 0.8488 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.4904, allocations: 107.9 kB / 0.8489 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4904, allocations: 0 / 0.8489 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4905, allocations: 47.97 kB / 0.8489 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4908, allocations: 11.92 kB / 0.8489 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.4911, allocations: 172.4 kB / 0.8491 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4914, allocations: 0.6848 MB / 0.8498 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.318e-05/0.4914, allocations: 4 kB / 0.8498 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.4914, allocations: 7.438 kB / 0.8498 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.4914, allocations: 4 kB / 0.8498 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.002687/0.4941, allocations: 0.6413 MB / 0.8504 GB, free: 12.17 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)