Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.252/1.252, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000918/0.0009181, allocations: 176.1 kB / 330.8 MB, free: 488 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 225.7 MB / 0.6016 GB, free: 15.91 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007604/0.0007604, allocations: 103.6 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 14.53 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 109.2 MB / 0.9328 GB, free: 24.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0005298/0.1594, allocations: 322 kB / 0.9331 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002471/0.1597, allocations: 168.9 kB / 0.9332 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-06/0.1597, allocations: 4 kB / 0.9332 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1597, allocations: 3.938 kB / 0.9332 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.24e-05/0.1597, allocations: 0 / 0.9332 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.1599, allocations: 8 kB / 0.9332 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.312e-05/0.1599, allocations: 7.984 kB / 0.9333 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.16, allocations: 0 / 0.9333 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.16, allocations: 4 kB / 0.9333 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.1601, allocations: 7.938 kB / 0.9333 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.1601, allocations: 0 / 0.9333 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.194e-05/0.1601, allocations: 15.98 kB / 0.9333 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1601, allocations: 3.984 kB / 0.9333 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.1602, allocations: 29.7 kB / 0.9333 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.082e-05/0.1602, allocations: 19.97 kB / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1602, allocations: 0 / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1602, allocations: 0 / 0.9333 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.1603, allocations: 0 / 0.9333 GB, free: 23.52 MB / 0.5886 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.0002028/0.1605, allocations: 315.6 kB / 0.9336 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.1605, allocations: 11.98 kB / 0.9336 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1606, allocations: 20.86 kB / 0.9337 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.286e-05/0.1607, allocations: 164.4 kB / 0.9338 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1607, allocations: 4.312 kB / 0.9338 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.1607, allocations: 384 / 0.9338 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.575e-05/0.1608, allocations: 38.25 kB / 0.9339 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1608, allocations: 4.188 kB / 0.9339 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1608, allocations: 3.938 kB / 0.9339 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1608, allocations: 0 / 0.9339 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.374e-05/0.1609, allocations: 11.98 kB / 0.9339 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.687e-05/0.161, allocations: 153.7 kB / 0.934 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1611, allocations: 42.5 kB / 0.9341 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/0.1612, allocations: 20.91 kB / 0.9341 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.1612, allocations: 0 / 0.9341 GB, free: 22.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.1612, allocations: 34.56 kB / 0.9341 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1612, allocations: 0 / 0.9341 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.1614, allocations: 57.61 kB / 0.9342 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.1614, allocations: 51.41 kB / 0.9342 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.653e-05/0.1614, allocations: 93.86 kB / 0.9343 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.1615, allocations: 29.7 kB / 0.9343 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.262e-05/0.1615, allocations: 80.14 kB / 0.9344 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1615, allocations: 12.06 kB / 0.9344 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1615, allocations: 4 kB / 0.9344 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.1615, allocations: 310.8 kB / 0.9347 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.21e-05/0.1616, allocations: 11.98 kB / 0.9347 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.1616, allocations: 4 kB / 0.9347 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.098e-05/0.1617, allocations: 25.11 kB / 0.9348 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1617, allocations: 0 / 0.9348 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.655e-05/0.1618, allocations: 53.59 kB / 0.9348 GB, free: 21.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.1618, allocations: 4 kB / 0.9348 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1618, allocations: 11.98 kB / 0.9348 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.1618, allocations: 3.938 kB / 0.9348 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.1621, allocations: 43.88 kB / 0.9349 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007767/0.1629, allocations: 1.299 MB / 0.9362 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.163, allocations: 4.031 kB / 0.9362 GB, free: 20.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.163, allocations: 3.938 kB / 0.9362 GB, free: 20.27 MB / 0.5886 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.032e-05/0.163, allocations: 114.5 kB / 0.9363 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.163, allocations: 11.84 kB / 0.9363 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.02e-05/0.163, allocations: 7.438 kB / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1631, allocations: 0 / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.32e-07/0.1631, allocations: 96 / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1631, allocations: 4 kB / 0.9363 GB, free: 20.13 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.931e-05/0.1631, allocations: 161.6 kB / 0.9364 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1631, allocations: 3.938 kB / 0.9364 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.1634, allocations: 43.94 kB / 0.9365 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1634, allocations: 0 / 0.9365 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1635, allocations: 7.984 kB / 0.9365 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006868/0.1642, allocations: 1.31 MB / 0.9378 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1642, allocations: 4.031 kB / 0.9378 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.141e-05/0.1643, allocations: 73.06 kB / 0.9378 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.1643, allocations: 81.19 kB / 0.9379 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-06/0.1643, allocations: 4 kB / 0.9379 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.1643, allocations: 4 kB / 0.9379 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1643, allocations: 0 / 0.9379 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.1643, allocations: 0 / 0.9379 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.588e-06/0.1644, allocations: 75.28 kB / 0.938 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.1644, allocations: 0 / 0.938 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001609/0.1645, allocations: 8 kB / 0.938 GB, free: 18.14 MB / 0.5886 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.216e-05/0.1646, allocations: 116 kB / 0.9381 GB, free: 18.02 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.165, allocations: 55.86 kB / 0.9382 GB, free: 17.97 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.165, allocations: 0 / 0.9382 GB, free: 17.97 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1652, allocations: 43.95 kB / 0.9382 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.1653, allocations: 0 / 0.9382 GB, free: 17.93 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002056/0.1655, allocations: 101.2 kB / 0.9383 GB, free: 17.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.775e-05/0.1656, allocations: 0.677 MB / 0.939 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.1657, allocations: 4 kB / 0.939 GB, free: 17.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.1657, allocations: 11.44 kB / 0.939 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of SimCode: time 2.21e-07/0.1657, allocations: 0 / 0.939 GB, free: 17.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.001677/0.1674, allocations: 394.9 kB / 0.9394 GB, free: 16.7 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)