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.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadModel(Buildings): time 4.068/4.068, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.772e-05/5.788e-05, allocations: 4.094 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2362/0.4422, allocations: 124.4 MB / 0.7562 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.4427, allocations: 71.95 kB / 0.7563 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004415/0.4471, allocations: 0.7702 MB / 0.757 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.025e-06/0.4472, allocations: 0 / 0.757 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.601e-06/0.4472, allocations: 0 / 0.757 GB, free: 4.539 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005812/0.4478, allocations: 344.3 kB / 0.7573 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.4479, allocations: 12.02 kB / 0.7573 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002918/0.4482, allocations: 15.98 kB / 0.7574 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4484, allocations: 167 kB / 0.7575 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.4485, allocations: 0 / 0.7575 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4485, allocations: 7.938 kB / 0.7575 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.4487, allocations: 37.69 kB / 0.7576 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4487, allocations: 0 / 0.7576 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4488, allocations: 4 kB / 0.7576 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.544e-06/0.4488, allocations: 4 kB / 0.7576 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.449, allocations: 12 kB / 0.7576 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.4497, allocations: 288.7 kB / 0.7579 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4499, allocations: 34.52 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.45, allocations: 12.92 kB / 0.7579 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4501, allocations: 4 kB / 0.7579 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.4501, allocations: 34.56 kB / 0.7579 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.63e-06/0.4502, allocations: 0 / 0.7579 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/0.4505, allocations: 49.64 kB / 0.758 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.4506, allocations: 51.41 kB / 0.758 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4507, allocations: 104.9 kB / 0.7581 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.4508, allocations: 25.7 kB / 0.7582 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.4509, allocations: 84.08 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4509, allocations: 3.906 kB / 0.7582 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-06/0.451, allocations: 3.969 kB / 0.7582 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4512, allocations: 326.8 kB / 0.7586 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.4513, allocations: 8 kB / 0.7586 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.4513, allocations: 4 kB / 0.7586 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.928e-05/0.4514, allocations: 8 kB / 0.7586 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-06/0.4514, allocations: 0 / 0.7586 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002262/0.4517, allocations: 45.7 kB / 0.7586 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.4517, allocations: 8 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.4518, allocations: 96 / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4518, allocations: 4 kB / 0.7586 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.452, allocations: 15.98 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.989e-06/0.4521, allocations: 0 / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.4522, allocations: 11.98 kB / 0.7587 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.4523, allocations: 3.953 kB / 0.7587 GB, free: 2.629 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 (2): * Single equations (assignments): 2 * 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.0001266/0.4524, allocations: 108.9 kB / 0.7588 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.4525, allocations: 7.906 kB / 0.7588 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.4526, allocations: 11.64 kB / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-06/0.4526, allocations: 0 / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-06/0.4526, allocations: 0 / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.332e-06/0.4527, allocations: 0 / 0.7588 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.453, allocations: 169.6 kB / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-06/0.4531, allocations: 0 / 0.7589 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.4533, allocations: 16.23 kB / 0.759 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-06/0.4533, allocations: 4 kB / 0.759 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4533, allocations: 4 kB / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.504e-06/0.4534, allocations: 0 / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-06/0.4534, allocations: 0 / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.4537, allocations: 147.5 kB / 0.7591 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.4538, allocations: 81.09 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.4538, allocations: 0 / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.4541, allocations: 20.02 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.4542, allocations: 4 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4542, allocations: 3.938 kB / 0.7592 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.4543, allocations: 79.28 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.261e-06/0.4544, allocations: 3.938 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005459/0.4549, allocations: 8 kB / 0.7593 GB, free: 1.887 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 (2): * Single equations (assignments): 2 * 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.0002003/0.4551, allocations: 110.2 kB / 0.7594 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.4554, allocations: 20 kB / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.4554, allocations: 0 / 0.7594 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.688e-05/0.4555, allocations: 12 kB / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4558, allocations: 7.891 kB / 0.7594 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.4563, allocations: 80.88 kB / 0.7595 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.4568, allocations: 0.6888 MB / 0.7602 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.035e-05/0.4569, allocations: 4 kB / 0.7602 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.457, allocations: 7.438 kB / 0.7602 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of SimCode: time 2.157e-06/0.457, allocations: 0 / 0.7602 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of Templates: time 0.00449/0.4615, allocations: 0.4918 MB / 0.7607 GB, free: 420 kB / 0.6355 GB