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.001083/0.001083, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001309/0.001309, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.63/1.63, allocations: 251.9 MB / 0.51 GB, free: 4.855 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.0005783/0.0005785, allocations: 19.44 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.6532, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001954/0.6552, allocations: 1.203 MB / 0.7291 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003816/0.6556, allocations: 100.6 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.6557, allocations: 0 / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.6557, allocations: 3.984 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.517e-05/0.6558, allocations: 8 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.656, allocations: 23.91 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.416e-05/0.6561, allocations: 23.97 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.836e-05/0.6562, allocations: 7.984 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.6562, allocations: 15.92 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.706e-05/0.6563, allocations: 19.92 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.6563, allocations: 0 / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.6564, allocations: 19.98 kB / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.6565, allocations: 15.91 kB / 0.7294 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.6565, allocations: 41.58 kB / 0.7294 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.654e-05/0.6566, allocations: 35.94 kB / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.6566, allocations: 0 / 0.7294 GB, free: 9.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6566, allocations: 4 kB / 0.7294 GB, free: 9.906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.6566, allocations: 0 / 0.7294 GB, free: 9.906 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.0005429/0.6572, allocations: 377.1 kB / 0.7298 GB, free: 9.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.6572, allocations: 8.031 kB / 0.7298 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.6573, allocations: 11.89 kB / 0.7298 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.6574, allocations: 176.4 kB / 0.73 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6574, allocations: 4 kB / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.6575, allocations: 0 / 0.73 GB, free: 9.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.6578, allocations: 93.58 kB / 0.7301 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6578, allocations: 0 / 0.7301 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.6578, allocations: 4 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6578, allocations: 0 / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.6581, allocations: 95.92 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.6586, allocations: 284.9 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.6588, allocations: 78.53 kB / 0.7305 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.6591, allocations: 109.1 kB / 0.7306 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6591, allocations: 34.56 kB / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6591, allocations: 0 / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006038/0.6597, allocations: 185.5 kB / 0.7308 GB, free: 8.293 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.6598, allocations: 51.41 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.66, allocations: 125.8 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.66, allocations: 25.7 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/0.6601, allocations: 92.12 kB / 0.7311 GB, free: 7.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.6601, allocations: 15.84 kB / 0.7311 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.6601, allocations: 0 / 0.7311 GB, free: 7.957 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002963/0.6604, allocations: 322.8 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.6606, allocations: 47.97 kB / 0.7315 GB, free: 7.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.6608, allocations: 51.89 kB / 0.7315 GB, free: 7.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.661, allocations: 43.97 kB / 0.7316 GB, free: 7.492 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.661, allocations: 4 kB / 0.7316 GB, free: 7.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003433/0.6614, allocations: 137.5 kB / 0.7317 GB, free: 7.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6614, allocations: 5.875 kB / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6614, allocations: 0 / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.6614, allocations: 0 / 0.7317 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.6616, allocations: 23.97 kB / 0.7317 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6616, allocations: 4 kB / 0.7317 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.6617, allocations: 19.98 kB / 0.7318 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6617, allocations: 0 / 0.7318 GB, free: 7.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6619, allocations: 113.8 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6619, allocations: 11.84 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.6624, allocations: 149.4 kB / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6624, allocations: 0 / 0.732 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6624, allocations: 4 kB / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6624, allocations: 0 / 0.732 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6627, allocations: 181.6 kB / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6628, allocations: 0 / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.6629, allocations: 23.98 kB / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6629, allocations: 0 / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6629, allocations: 0 / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6629, allocations: 0 / 0.7322 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6629, allocations: 4 kB / 0.7322 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.6634, allocations: 235.3 kB / 0.7325 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.6635, allocations: 81.11 kB / 0.7325 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6636, allocations: 0 / 0.7325 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.6637, allocations: 23.97 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.6638, allocations: 0 / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.6638, allocations: 8 kB / 0.7326 GB, free: 6.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.714e-05/0.6639, allocations: 96.52 kB / 0.7327 GB, free: 6.281 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6639, allocations: 0 / 0.7327 GB, free: 6.281 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00024/0.6641, allocations: 19.98 kB / 0.7327 GB, free: 6.262 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 (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.0002605/0.6644, allocations: 99.25 kB / 0.7328 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.6648, allocations: 95.92 kB / 0.7329 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6648, allocations: 0 / 0.7329 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.665, allocations: 60.41 kB / 0.7329 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6653, allocations: 14.95 kB / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004811/0.6657, allocations: 167.4 kB / 0.7331 GB, free: 5.809 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.6662, allocations: 0.6887 MB / 0.7338 GB, free: 5.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.6663, allocations: 7.844 kB / 0.7338 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.6663, allocations: 11.44 kB / 0.7338 GB, free: 5.074 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.6663, allocations: 0 / 0.7338 GB, free: 5.074 MB / 0.545 GB Notification: Performance of Templates: time 0.003654/0.67, allocations: 0.6435 MB / 0.7344 GB, free: 4.434 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: