Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadModel(Buildings): time 4.558/4.558, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.492e-05, allocations: 4.688 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 98.72 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.3966, allocations: 124.4 MB / 0.7562 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.3969, allocations: 75.94 kB / 0.7563 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004035/0.4009, allocations: 1.059 MB / 0.7573 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.147e-06/0.401, allocations: 4 kB / 0.7573 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.519e-06/0.401, allocations: 0 / 0.7573 GB, free: 4.188 MB / 0.6355 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.0005214/0.4015, allocations: 366.4 kB / 0.7577 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4016, allocations: 12.03 kB / 0.7577 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.996e-05/0.4016, allocations: 7.906 kB / 0.7577 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.4018, allocations: 174.9 kB / 0.7579 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4018, allocations: 4 kB / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.4019, allocations: 0 / 0.7579 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.402, allocations: 53.62 kB / 0.7579 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4021, allocations: 3.984 kB / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4021, allocations: 0 / 0.7579 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-06/0.4021, allocations: 4 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.4022, allocations: 31.98 kB / 0.758 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.4029, allocations: 320.9 kB / 0.7583 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4031, allocations: 46.5 kB / 0.7583 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.4032, allocations: 32.94 kB / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.4034, allocations: 101.1 kB / 0.7584 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.4035, allocations: 38.48 kB / 0.7585 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.912e-06/0.4035, allocations: 0 / 0.7585 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002559/0.4038, allocations: 65.59 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4038, allocations: 59.36 kB / 0.7586 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.404, allocations: 117 kB / 0.7587 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.404, allocations: 29.7 kB / 0.7587 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.4041, allocations: 92.12 kB / 0.7588 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.4041, allocations: 7.906 kB / 0.7588 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-06/0.4042, allocations: 0 / 0.7588 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4043, allocations: 318.8 kB / 0.7591 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.4044, allocations: 23.92 kB / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.4045, allocations: 12 kB / 0.7592 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.4045, allocations: 20.11 kB / 0.7592 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4046, allocations: 4 kB / 0.7592 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.4047, allocations: 69.58 kB / 0.7593 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.4048, allocations: 9.719 kB / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.608e-06/0.4048, allocations: 0 / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4048, allocations: 0 / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.405, allocations: 19.98 kB / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.829e-06/0.405, allocations: 0 / 0.7593 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.4052, allocations: 27.94 kB / 0.7593 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.4052, allocations: 3.984 kB / 0.7593 GB, free: 1.926 MB / 0.6355 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 () * 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 9.648e-05/0.4053, allocations: 112.9 kB / 0.7594 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.4054, allocations: 3.906 kB / 0.7594 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.4056, allocations: 85.69 kB / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.362e-06/0.4056, allocations: 0 / 0.7595 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4057, allocations: 3.984 kB / 0.7595 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.003e-06/0.4057, allocations: 8 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.406, allocations: 181.6 kB / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.406, allocations: 0 / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.4061, allocations: 19.98 kB / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.432e-06/0.4061, allocations: 0 / 0.7597 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4062, allocations: 4 kB / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.139e-06/0.4062, allocations: 0 / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.851e-06/0.4062, allocations: 0 / 0.7597 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.4064, allocations: 175.3 kB / 0.7599 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.4065, allocations: 77.11 kB / 0.76 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.4066, allocations: 7.984 kB / 0.76 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.4067, allocations: 19.98 kB / 0.76 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4068, allocations: 0 / 0.76 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4068, allocations: 4 kB / 0.76 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.834e-05/0.4069, allocations: 99.27 kB / 0.7601 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.73e-07/0.4069, allocations: 3.938 kB / 0.7601 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003324/0.4073, allocations: 16 kB / 0.7601 GB, free: 1.023 MB / 0.6355 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 () * 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.0001877/0.4075, allocations: 107.2 kB / 0.7602 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.4076, allocations: 31.94 kB / 0.7602 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.922e-06/0.4077, allocations: 3.938 kB / 0.7602 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/0.4077, allocations: 16 kB / 0.7603 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.408, allocations: 19.94 kB / 0.7603 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.4083, allocations: 100.9 kB / 0.7604 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4087, allocations: 0.6887 MB / 0.761 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.4087, allocations: 0 / 0.761 GB, free: 0 / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/0.4088, allocations: 11.44 kB / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of SimCode: time 1.502e-06/0.4088, allocations: 0 / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of Templates: time 0.003363/0.4122, allocations: 0.6498 MB / 0.7617 GB, free: 15.34 MB / 0.6511 GB