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.005/5.005, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.003205/0.003205, allocations: 357.9 kB / 0.644 GB, free: 185.6 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.296/4.296, allocations: 410.7 MB / 1.112 GB, free: 6.02 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.001788/0.001788, allocations: 183.1 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007862/0.0007865, allocations: 12 kB / 1.348 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5967, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001368/0.5981, allocations: 1.196 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00024/0.5984, allocations: 109.6 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.5984, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.5985, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.5985, allocations: 10 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.5987, allocations: 15.92 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.5988, allocations: 39.84 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.218e-05/0.5988, allocations: 8.75 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.5989, allocations: 19.91 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.5989, allocations: 26.66 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.599, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.599, allocations: 19.98 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.5991, allocations: 7.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.896e-05/0.5991, allocations: 29.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.051e-05/0.5992, allocations: 35.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.824e-06/0.5992, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.088e-06/0.5992, allocations: 0.5938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.823e-06/0.5992, allocations: 4 kB / 1.462 GB, free: 282.8 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.000448/0.5997, allocations: 379.8 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.5997, allocations: 12.53 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.5998, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.5999, allocations: 187.7 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-06/0.5999, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.5999, allocations: 4.656 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.6002, allocations: 88.12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-06/0.6002, allocations: 0.9844 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6003, allocations: 1.688 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-06/0.6003, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.6006, allocations: 100.3 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.6009, allocations: 284.9 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.6012, allocations: 77.44 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.6014, allocations: 56.48 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.6016, allocations: 106.9 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.6017, allocations: 35.31 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 2.08e-06/0.6017, allocations: 0 / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0006343/0.6023, allocations: 183.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.6024, allocations: 53.16 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.6025, allocations: 135.3 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.6025, allocations: 29.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.6025, allocations: 84.14 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.6026, allocations: 25.23 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-06/0.6026, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.6026, allocations: 310.8 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.6028, allocations: 50.77 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.603, allocations: 50.16 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.6032, allocations: 52.67 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-06/0.6032, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004074/0.6036, allocations: 128.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6036, allocations: 4.656 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6037, allocations: 3.984 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.6037, allocations: 1.25 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.6038, allocations: 20.83 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.235e-06/0.6039, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.604, allocations: 21.05 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.604, allocations: 4.578 kB / 1.465 GB, free: 280.2 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 6.597e-05/0.6041, allocations: 121.4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.6041, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.6045, allocations: 140.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-06/0.6046, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.081e-06/0.6046, allocations: 4.906 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-06/0.6046, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.6048, allocations: 185.6 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-06/0.6048, allocations: 3.609 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.6049, allocations: 27.34 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-06/0.6049, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-06/0.6049, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.48e-06/0.605, allocations: 3.938 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.902e-06/0.605, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.6054, allocations: 232.9 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.6054, allocations: 85.02 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6055, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6056, allocations: 17.05 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.6057, allocations: 10.55 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.795e-06/0.6057, allocations: 7.938 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.6057, allocations: 102.8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.47e-07/0.6058, allocations: 0 / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003053/0.6061, allocations: 8 kB / 1.466 GB, free: 279.1 MB / 0.8542 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.0001244/0.6062, allocations: 100.8 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003966/0.6066, allocations: 103.3 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.408e-06/0.6066, allocations: 1.031 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.6068, allocations: 50.59 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6072, allocations: 11.94 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003411/0.6075, allocations: 167.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.6077, allocations: 0.6887 MB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.6077, allocations: 4.812 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.6078, allocations: 7.438 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of SimCode: time 1.365e-06/0.6078, allocations: 0.9375 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of Templates: time 0.003091/0.6109, allocations: 0.6447 MB / 1.467 GB, free: 277.4 MB / 0.8542 GB