Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.139/5.139, allocations: 0.5623 GB / 0.5776 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002809/0.002809, allocations: 358.3 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.369/4.369, allocations: 410.7 MB / 1.113 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00204/0.00204, allocations: 188.2 kB / 1.226 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005138, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8181/0.8187, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001712/0.8204, allocations: 1.192 MB / 1.463 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.8208, allocations: 105.5 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.8208, allocations: 0 / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.8209, allocations: 3.938 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.821, allocations: 9.344 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.8212, allocations: 23.89 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.8212, allocations: 38.36 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.8213, allocations: 11.98 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.755e-05/0.8214, allocations: 8 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.158e-05/0.8215, allocations: 23.91 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.8215, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.661e-05/0.8216, allocations: 19.98 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.8216, allocations: 12.8 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.8217, allocations: 29.7 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.8218, allocations: 38.14 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8218, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8218, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.8218, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 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.0005806/0.8224, allocations: 383.6 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8225, allocations: 11.62 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.8225, allocations: 5.812 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.8226, allocations: 182.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.8227, allocations: 4.719 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.8227, allocations: 5.219 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.8231, allocations: 79.16 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8231, allocations: 0.7188 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.8231, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8231, allocations: 6.078 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005193/0.8237, allocations: 91.23 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.824, allocations: 290.7 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.8244, allocations: 77.31 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.8247, allocations: 55.97 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/0.825, allocations: 107.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.825, allocations: 38.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.825, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0009448/0.826, allocations: 180.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.826, allocations: 59.34 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.8261, allocations: 128.1 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.8262, allocations: 27.33 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.8262, allocations: 88.14 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.8262, allocations: 23.73 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/0.8263, allocations: 0.6875 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.8263, allocations: 315.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.8266, allocations: 49.77 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.8269, allocations: 52.03 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.8271, allocations: 45.42 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8272, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005722/0.8277, allocations: 134 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.8278, allocations: 8 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8278, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8278, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.828, allocations: 21.48 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.828, allocations: 0 / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.8282, allocations: 22.58 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.8282, allocations: 2.156 kB / 1.465 GB, free: 280.3 MB / 0.8542 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.359e-05/0.8283, allocations: 125.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.8284, allocations: 6.469 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/0.829, allocations: 138.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.829, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.829, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.8291, allocations: 89 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.8291, allocations: 0 / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.8293, allocations: 19.94 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.8293, allocations: 4.812 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007149/0.8301, allocations: 226.7 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006159/0.8307, allocations: 307.4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002774/0.831, allocations: 51.17 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.311e-05/0.8311, allocations: 99.89 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Backend: time 2.846e-06/0.8311, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007052/0.8318, allocations: 134.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004645/0.8323, allocations: 0.6063 MB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003796/0.8361, allocations: 0.8156 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB