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.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.23/1.23, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.0009003/0.0009003, allocations: 188.1 kB / 330.8 MB, free: 492 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.326/1.326, allocations: 225.7 MB / 0.6016 GB, free: 1.551 MB / 426.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.0007622/0.0007623, allocations: 96.17 kB / 0.709 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8.531 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1639, allocations: 109.2 MB / 0.9327 GB, free: 6.242 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001172/0.1651, allocations: 1.158 MB / 0.9339 GB, free: 5.074 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.1654, allocations: 173.7 kB / 0.934 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1654, allocations: 0 / 0.934 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.1654, allocations: 0 / 0.934 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.1655, allocations: 7.938 kB / 0.9341 GB, free: 4.875 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.1656, allocations: 11.98 kB / 0.9341 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.1657, allocations: 23.92 kB / 0.9341 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.1658, allocations: 7.938 kB / 0.9341 GB, free: 4.832 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.1658, allocations: 11.92 kB / 0.9341 GB, free: 4.82 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.1658, allocations: 11.94 kB / 0.9341 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1658, allocations: 3.984 kB / 0.9341 GB, free: 4.805 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.1659, allocations: 15.98 kB / 0.9341 GB, free: 4.789 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1659, allocations: 3.984 kB / 0.9341 GB, free: 4.785 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.1659, allocations: 41.64 kB / 0.9342 GB, free: 4.738 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.953e-05/0.166, allocations: 31.89 kB / 0.9342 GB, free: 4.707 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.166, allocations: 0 / 0.9342 GB, free: 4.707 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.495e-06/0.166, allocations: 0 / 0.9342 GB, free: 4.707 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1661, allocations: 0 / 0.9342 GB, free: 4.707 MB / 0.573 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.0003069/0.1664, allocations: 335.8 kB / 0.9345 GB, free: 4.328 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.1664, allocations: 15.98 kB / 0.9345 GB, free: 4.312 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.1665, allocations: 24.83 kB / 0.9346 GB, free: 4.289 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.789e-05/0.1666, allocations: 164.4 kB / 0.9347 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.1666, allocations: 384 / 0.9347 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1667, allocations: 384 / 0.9347 GB, free: 4.09 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1668, allocations: 66.22 kB / 0.9348 GB, free: 4.02 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1668, allocations: 4.188 kB / 0.9348 GB, free: 4.016 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1669, allocations: 7.875 kB / 0.9348 GB, free: 4.008 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1669, allocations: 0 / 0.9348 GB, free: 4.008 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.167, allocations: 59.95 kB / 0.9349 GB, free: 3.949 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002666/0.1673, allocations: 272.8 kB / 0.9351 GB, free: 3.633 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.1675, allocations: 62.48 kB / 0.9352 GB, free: 3.562 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.1676, allocations: 44.89 kB / 0.9352 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.1676, allocations: 0 / 0.9352 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.1676, allocations: 38.44 kB / 0.9353 GB, free: 3.469 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1676, allocations: 0 / 0.9353 GB, free: 3.469 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.168, allocations: 129.7 kB / 0.9354 GB, free: 3.336 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.168, allocations: 51.41 kB / 0.9354 GB, free: 3.273 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.1681, allocations: 105.8 kB / 0.9355 GB, free: 3.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.1681, allocations: 25.7 kB / 0.9356 GB, free: 3.129 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.1681, allocations: 80.14 kB / 0.9356 GB, free: 3.047 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1681, allocations: 11.84 kB / 0.9356 GB, free: 3.035 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.1681, allocations: 0 / 0.9356 GB, free: 3.035 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.553e-05/0.1682, allocations: 318.8 kB / 0.9359 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.1683, allocations: 32.02 kB / 0.936 GB, free: 2.684 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.311e-05/0.1683, allocations: 31.97 kB / 0.936 GB, free: 2.652 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1685, allocations: 72.81 kB / 0.9361 GB, free: 2.578 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1685, allocations: 0 / 0.9361 GB, free: 2.578 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.1687, allocations: 97.58 kB / 0.9362 GB, free: 2.477 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.1687, allocations: 4 kB / 0.9362 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1687, allocations: 3.938 kB / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1688, allocations: 0 / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.1689, allocations: 24.02 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1689, allocations: 0 / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.1689, allocations: 8 kB / 0.9362 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.169, allocations: 3.984 kB / 0.9362 GB, free: 2.434 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.169, allocations: 116.4 kB / 0.9363 GB, free: 2.312 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.169, allocations: 3.906 kB / 0.9363 GB, free: 2.309 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.1691, allocations: 11.47 kB / 0.9363 GB, free: 2.297 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1691, allocations: 7.984 kB / 0.9363 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1691, allocations: 4 kB / 0.9363 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.1691, allocations: 0 / 0.9363 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1692, allocations: 161.6 kB / 0.9365 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1692, allocations: 256 / 0.9365 GB, free: 2.078 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.1693, allocations: 19.98 kB / 0.9365 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1693, allocations: 0 / 0.9365 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1693, allocations: 0 / 0.9365 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1693, allocations: 0 / 0.9365 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1693, allocations: 4 kB / 0.9365 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1695, allocations: 199.4 kB / 0.9367 GB, free: 1.844 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.1695, allocations: 81.05 kB / 0.9368 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1695, allocations: 0 / 0.9368 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.1696, allocations: 11.98 kB / 0.9368 GB, free: 1.734 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1697, allocations: 7.984 kB / 0.9368 GB, free: 1.727 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1697, allocations: 0 / 0.9368 GB, free: 1.727 MB / 0.573 GB Notification: Performance of sorting global known variables: time 2.112e-05/0.1697, allocations: 87.22 kB / 0.9369 GB, free: 1.641 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/0.1697, allocations: 0 / 0.9369 GB, free: 1.641 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001813/0.1699, allocations: 8.031 kB / 0.9369 GB, free: 1.633 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.511e-05/0.17, allocations: 103.8 kB / 0.937 GB, free: 1.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1702, allocations: 67.94 kB / 0.9371 GB, free: 1.453 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1702, allocations: 4 kB / 0.9371 GB, free: 1.449 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 9.382e-05/0.1703, allocations: 27.98 kB / 0.9371 GB, free: 1.422 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1705, allocations: 11.88 kB / 0.9371 GB, free: 1.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.1708, allocations: 140 kB / 0.9372 GB, free: 1.254 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.1709, allocations: 0.6809 MB / 0.9379 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.1709, allocations: 0 / 0.9379 GB, free: 0.5469 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.1709, allocations: 7.438 kB / 0.9379 GB, free: 0.5391 MB / 0.573 GB Notification: Performance of SimCode: time 3.91e-07/0.171, allocations: 4 kB / 0.9379 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of Templates: time 0.001766/0.1727, allocations: 0.4982 MB / 0.9384 GB, free: 40 kB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)