Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.PowerLinearized.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01523/0.01524, allocations: 106.3 kB / 15.06 MB, free: 5.605 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00179/0.00179, allocations: 184.7 kB / 15.95 MB, free: 5.543 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.884/1.884, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.302/2.302, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 12 kB / 0.5869 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5595/0.56, allocations: 98.71 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001505/0.5615, allocations: 1.137 MB / 0.6844 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.5618, allocations: 89.44 kB / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.5618, allocations: 0 / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.167e-05/0.5619, allocations: 0 / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.5619, allocations: 9.297 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.5621, allocations: 9.984 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.5621, allocations: 19.56 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.822e-05/0.5622, allocations: 8.141 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.5623, allocations: 4.891 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.5623, allocations: 13.75 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.5623, allocations: 1.219 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.261e-05/0.5624, allocations: 10.59 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.5624, allocations: 5.953 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.5625, allocations: 30.77 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.5625, allocations: 23.36 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.034e-06/0.5626, allocations: 1.656 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.876e-06/0.5626, allocations: 0 / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.174e-06/0.5626, allocations: 0 / 0.6847 GB, free: 15.84 MB / 0.5261 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.0003545/0.5629, allocations: 334.8 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.563, allocations: 8.875 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.5632, allocations: 21.52 kB / 0.685 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.5633, allocations: 175.5 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.5633, allocations: 5.344 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.5633, allocations: 1.281 kB / 0.6852 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.5636, allocations: 69.2 kB / 0.6852 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-06/0.5636, allocations: 4 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.5636, allocations: 0 / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-06/0.5636, allocations: 1.656 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.5639, allocations: 66.05 kB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.5643, allocations: 270.5 kB / 0.6856 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.5646, allocations: 68.59 kB / 0.6856 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.5646, allocations: 0 / 0.6856 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5646, allocations: 31.84 kB / 0.6857 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.765e-06/0.5646, allocations: 0 / 0.6857 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0005121/0.5651, allocations: 125.1 kB / 0.6858 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.5652, allocations: 56.02 kB / 0.6858 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.479e-05/0.5653, allocations: 112.9 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5653, allocations: 25.7 kB / 0.686 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.5653, allocations: 86.67 kB / 0.6861 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.5653, allocations: 4.906 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-06/0.5654, allocations: 0 / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.152e-05/0.5654, allocations: 317.6 kB / 0.6864 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5656, allocations: 30.95 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.5657, allocations: 34.69 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5659, allocations: 25.8 kB / 0.6865 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.203e-06/0.5659, allocations: 0 / 0.6865 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003166/0.5662, allocations: 95.38 kB / 0.6865 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5662, allocations: 5.281 kB / 0.6865 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.5662, allocations: 1.281 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5663, allocations: 0 / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.5664, allocations: 17.92 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.853e-06/0.5664, allocations: 1.781 kB / 0.6866 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.5665, allocations: 15.66 kB / 0.6866 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.5665, allocations: 5.734 kB / 0.6866 GB, free: 14.12 MB / 0.5261 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 (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 5.85e-05/0.5666, allocations: 111.2 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.5667, allocations: 6.156 kB / 0.6867 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.5667, allocations: 5.594 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-06/0.5667, allocations: 0 / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.025e-06/0.5667, allocations: 1.219 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.941e-06/0.5667, allocations: 0.8906 kB / 0.6867 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.5669, allocations: 168 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-06/0.5669, allocations: 1.781 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.567, allocations: 13.7 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.17e-06/0.567, allocations: 0 / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5671, allocations: 5.156 kB / 0.6869 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.148e-06/0.5671, allocations: 3.938 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.232e-06/0.5671, allocations: 0.6562 kB / 0.6869 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.5674, allocations: 195 kB / 0.6871 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.5675, allocations: 79.55 kB / 0.6872 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.5675, allocations: 8.5 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.5677, allocations: 15.55 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.5677, allocations: 2.688 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.141e-06/0.5677, allocations: 6.125 kB / 0.6872 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.5678, allocations: 84.72 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.42e-07/0.5678, allocations: 0 / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002985/0.5681, allocations: 9.906 kB / 0.6873 GB, free: 13.44 MB / 0.5261 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 (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 9.824e-05/0.5682, allocations: 99.7 kB / 0.6874 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.5685, allocations: 67.17 kB / 0.6874 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.442e-06/0.5686, allocations: 0 / 0.6874 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5687, allocations: 33.17 kB / 0.6875 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.569, allocations: 13.92 kB / 0.6875 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.5693, allocations: 134.2 kB / 0.6876 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.5695, allocations: 0.6803 MB / 0.6883 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.5695, allocations: 5.75 kB / 0.6883 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.5696, allocations: 8.906 kB / 0.6883 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of SimCode: time 1.277e-06/0.5696, allocations: 0 / 0.6883 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of Templates: time 0.004808/0.5744, allocations: 494.2 kB / 0.6888 GB, free: 12.45 MB / 0.5261 GB