Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7984/0.7984, allocations: 143.8 MB / 159.1 MB, free: 6.523 MB / 122.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.001101/0.0011, allocations: 189.9 kB / 192 MB, free: 6.738 MB / 154.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.44/1.44, allocations: 225.7 MB / 450.4 MB, free: 4.98 MB / 330.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.0008263/0.0008264, allocations: 111.5 kB / 0.5211 GB, free: 1.641 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001676, allocations: 282 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006215/0.0006217, allocations: 11.34 kB / 0.6948 GB, free: 59.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.163, allocations: 82.45 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.00192/0.165, allocations: 1.154 MB / 0.7764 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.1654, allocations: 172.9 kB / 0.7766 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.1654, allocations: 0 / 0.7766 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.1655, allocations: 0 / 0.7766 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.1655, allocations: 11.88 kB / 0.7766 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1657, allocations: 7.984 kB / 0.7766 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.603e-05/0.1658, allocations: 27.88 kB / 0.7766 GB, free: 12.99 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.1659, allocations: 7.984 kB / 0.7766 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.166, allocations: 4 kB / 0.7767 GB, free: 12.98 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.166, allocations: 15.91 kB / 0.7767 GB, free: 12.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.166, allocations: 8 kB / 0.7767 GB, free: 12.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.1661, allocations: 19.98 kB / 0.7767 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1661, allocations: 0 / 0.7767 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.1662, allocations: 33.64 kB / 0.7767 GB, free: 12.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.1663, allocations: 28.17 kB / 0.7768 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1663, allocations: 0 / 0.7768 GB, free: 12.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1663, allocations: 4 kB / 0.7768 GB, free: 12.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1663, allocations: 0 / 0.7768 GB, free: 12.86 MB / 458.7 MB 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.0004348/0.1668, allocations: 347.4 kB / 0.7771 GB, free: 12.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1668, allocations: 8.031 kB / 0.7771 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.167, allocations: 16.92 kB / 0.7771 GB, free: 12.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1672, allocations: 168.3 kB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1672, allocations: 4.375 kB / 0.7773 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1672, allocations: 384 / 0.7773 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.1674, allocations: 66.17 kB / 0.7773 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1674, allocations: 192 / 0.7773 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1674, allocations: 7.938 kB / 0.7773 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1675, allocations: 0 / 0.7773 GB, free: 12.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1677, allocations: 67.94 kB / 0.7774 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.1681, allocations: 261 kB / 0.7777 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.1683, allocations: 78.34 kB / 0.7777 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1684, allocations: 32.91 kB / 0.7778 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1685, allocations: 3.984 kB / 0.7778 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1685, allocations: 34.56 kB / 0.7778 GB, free: 11.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1685, allocations: 0 / 0.7778 GB, free: 11.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004856/0.169, allocations: 129.7 kB / 0.7779 GB, free: 11.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.169, allocations: 51.41 kB / 0.778 GB, free: 11.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.08e-05/0.1691, allocations: 105.9 kB / 0.7781 GB, free: 11.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1692, allocations: 25.7 kB / 0.7781 GB, free: 11.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.1692, allocations: 100 kB / 0.7782 GB, free: 11.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1692, allocations: 3.906 kB / 0.7782 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1693, allocations: 4.031 kB / 0.7782 GB, free: 11.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1694, allocations: 310.8 kB / 0.7785 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1695, allocations: 31.97 kB / 0.7785 GB, free: 10.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.1696, allocations: 31.98 kB / 0.7786 GB, free: 10.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1699, allocations: 64.81 kB / 0.7786 GB, free: 10.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1699, allocations: 8 kB / 0.7786 GB, free: 10.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002385/0.1702, allocations: 97.58 kB / 0.7787 GB, free: 10.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1702, allocations: 4 kB / 0.7787 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1702, allocations: 4.031 kB / 0.7787 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1702, allocations: 4 kB / 0.7787 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1703, allocations: 15.92 kB / 0.7788 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1703, allocations: 3.984 kB / 0.7788 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1704, allocations: 15.89 kB / 0.7788 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1704, allocations: 4 kB / 0.7788 GB, free: 10.57 MB / 458.7 MB 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 8.982e-05/0.1705, allocations: 113.8 kB / 0.7789 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.1706, allocations: 0 / 0.7789 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.1706, allocations: 11.53 kB / 0.7789 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1706, allocations: 0 / 0.7789 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1706, allocations: 0 / 0.7789 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1706, allocations: 3.984 kB / 0.7789 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1708, allocations: 165.6 kB / 0.7791 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1709, allocations: 0 / 0.7791 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.099e-05/0.1709, allocations: 11.98 kB / 0.7791 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.171, allocations: 8 kB / 0.7791 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.171, allocations: 0 / 0.7791 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.171, allocations: 3.938 kB / 0.7791 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.171, allocations: 0 / 0.7791 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1713, allocations: 199.4 kB / 0.7793 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.1713, allocations: 81.02 kB / 0.7793 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.1714, allocations: 4 kB / 0.7793 GB, free: 9.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.1714, allocations: 11.98 kB / 0.7794 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1715, allocations: 0 / 0.7794 GB, free: 9.875 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1715, allocations: 4.031 kB / 0.7794 GB, free: 9.871 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.516e-05/0.1716, allocations: 83.53 kB / 0.7794 GB, free: 9.789 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1716, allocations: 0 / 0.7794 GB, free: 9.789 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.1718, allocations: 8 kB / 0.7795 GB, free: 9.781 MB / 458.7 MB 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 0.0001153/0.172, allocations: 103.2 kB / 0.7795 GB, free: 9.672 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1722, allocations: 67.95 kB / 0.7796 GB, free: 9.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1722, allocations: 0 / 0.7796 GB, free: 9.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.1724, allocations: 43.97 kB / 0.7797 GB, free: 9.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.1727, allocations: 3.938 kB / 0.7797 GB, free: 9.559 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.173, allocations: 128.7 kB / 0.7798 GB, free: 9.406 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1733, allocations: 0.677 MB / 0.7804 GB, free: 8.703 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.027e-05/0.1734, allocations: 8.062 kB / 0.7805 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.1735, allocations: 11.44 kB / 0.7805 GB, free: 8.684 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1735, allocations: 3.938 kB / 0.7805 GB, free: 8.68 MB / 458.7 MB Notification: Performance of Templates: time 0.002495/0.176, allocations: 0.4983 MB / 0.781 GB, free: 8.188 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)