Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7371/0.7371, allocations: 143.8 MB / 159.1 MB, free: 6.52 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.0009379/0.000938, allocations: 178.1 kB / 192 MB, free: 6.75 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.336/1.336, allocations: 225.7 MB / 450.4 MB, free: 5.008 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.0007584/0.0007583, allocations: 107.5 kB / 0.5211 GB, free: 1.668 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.001615/0.001615, allocations: 272 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 10.97 kB / 0.6948 GB, free: 59.4 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1398, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple): time 0.003826/0.1436, allocations: 3.226 MB / 0.7785 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005356/0.149, allocations: 4.952 MB / 0.7833 GB, free: 5.75 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.1493, allocations: 11.88 kB / 0.7833 GB, free: 5.738 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.1498, allocations: 107.2 kB / 0.7834 GB, free: 5.633 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009975/0.1508, allocations: 370.3 kB / 0.7838 GB, free: 5.27 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007163/0.1515, allocations: 315.5 kB / 0.7841 GB, free: 4.961 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.1521, allocations: 0.6823 MB / 0.7847 GB, free: 4.277 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.1525, allocations: 197.3 kB / 0.7849 GB, free: 4.078 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.1528, allocations: 242.8 kB / 0.7851 GB, free: 3.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.1532, allocations: 262.7 kB / 0.7854 GB, free: 3.582 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.075e-05/0.1532, allocations: 23.98 kB / 0.7854 GB, free: 3.559 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008724/0.1541, allocations: 447.4 kB / 0.7858 GB, free: 3.121 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1543, allocations: 115.5 kB / 0.786 GB, free: 3.008 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.1546, allocations: 288 kB / 0.7862 GB, free: 2.719 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1557, allocations: 1.012 MB / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1557, allocations: 0 / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1557, allocations: 0 / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1557, allocations: 4 kB / 0.7872 GB, free: 1.699 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001569/0.1573, allocations: 0.8629 MB / 0.7881 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1573, allocations: 12.03 kB / 0.7881 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.1607, allocations: 0.644 MB / 0.7887 GB, free: 132 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1621, allocations: 0.6235 MB / 0.7893 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.1622, allocations: 118.7 kB / 0.7894 GB, free: 15.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.1623, allocations: 51.94 kB / 0.7895 GB, free: 15.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.1639, allocations: 0.6869 MB / 0.7901 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1639, allocations: 7.938 kB / 0.7902 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.164, allocations: 20 kB / 0.7902 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.164, allocations: 12 kB / 0.7902 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.166, allocations: 0.7572 MB / 0.7909 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003495/0.1695, allocations: 1.813 MB / 0.7927 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.1722, allocations: 0.8478 MB / 0.7935 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008818/0.1731, allocations: 361.9 kB / 0.7939 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001635/0.1747, allocations: 1.765 MB / 0.7956 GB, free: 8.539 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/0.1758, allocations: 437 kB / 0.796 GB, free: 8.098 MB / 474.7 MB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.1758, allocations: 3.938 kB / 0.796 GB, free: 8.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=53): time 0.002814/0.1786, allocations: 1.018 MB / 0.797 GB, free: 7.074 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.1787, allocations: 107.2 kB / 0.7971 GB, free: 6.945 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.1792, allocations: 423.2 kB / 0.7975 GB, free: 6.531 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.1793, allocations: 41.7 kB / 0.7976 GB, free: 6.484 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.1795, allocations: 272.5 kB / 0.7978 GB, free: 6.211 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.1796, allocations: 181.3 kB / 0.798 GB, free: 6.031 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1797, allocations: 16 kB / 0.798 GB, free: 6.016 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1798, allocations: 362.7 kB / 0.7983 GB, free: 5.652 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008242/0.1807, allocations: 308.9 kB / 0.7986 GB, free: 5.348 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009011/0.1816, allocations: 440.5 kB / 0.7991 GB, free: 4.871 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.1833, allocations: 0.7062 MB / 0.7998 GB, free: 4.121 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1833, allocations: 4 kB / 0.7998 GB, free: 4.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002012/0.1853, allocations: 0.8145 MB / 0.8005 GB, free: 3.293 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1853, allocations: 4 kB / 0.8006 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.1853, allocations: 4.219 kB / 0.8006 GB, free: 3.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1854, allocations: 12 kB / 0.8006 GB, free: 3.273 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008881/0.1863, allocations: 175.7 kB / 0.8007 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1863, allocations: 11.98 kB / 0.8007 GB, free: 3.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.187, allocations: 111.3 kB / 0.8009 GB, free: 2.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.1871, allocations: 31.97 kB / 0.8009 GB, free: 2.949 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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 0.0003043/0.1874, allocations: 205.6 kB / 0.8011 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.1875, allocations: 51.34 kB / 0.8011 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.1898, allocations: 0.9026 MB / 0.802 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1899, allocations: 12 kB / 0.802 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1899, allocations: 0 / 0.802 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1899, allocations: 7.922 kB / 0.802 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.1927, allocations: 1.574 MB / 0.8036 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1927, allocations: 0 / 0.8036 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.1936, allocations: 151.8 kB / 0.8037 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1936, allocations: 8 kB / 0.8037 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.556e-05/0.1936, allocations: 23.92 kB / 0.8037 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1936, allocations: 4 kB / 0.8037 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1937, allocations: 0 / 0.8037 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.1955, allocations: 0.8582 MB / 0.8046 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.1958, allocations: 208.1 kB / 0.8048 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.1959, allocations: 23.86 kB / 0.8048 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005957/0.1965, allocations: 63.94 kB / 0.8049 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1966, allocations: 40.5 kB / 0.8049 GB, free: 14.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.1967, allocations: 23.92 kB / 0.8049 GB, free: 14.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003226/0.197, allocations: 303.1 kB / 0.8052 GB, free: 14.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.197, allocations: 0 / 0.8052 GB, free: 14.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006852/0.1977, allocations: 227.6 kB / 0.8054 GB, free: 14.18 MB / 490.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: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001103/0.1988, allocations: 0.5587 MB / 0.806 GB, free: 13.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.2007, allocations: 0.73 MB / 0.8067 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2007, allocations: 0 / 0.8067 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.2016, allocations: 391.4 kB / 0.8071 GB, free: 12.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.2021, allocations: 76.61 kB / 0.8071 GB, free: 12.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.2043, allocations: 1.522 MB / 0.8086 GB, free: 11.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.2047, allocations: 0.8852 MB / 0.8095 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008254/0.2056, allocations: 148.5 kB / 0.8096 GB, free: 9.953 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.2059, allocations: 75.38 kB / 0.8097 GB, free: 9.879 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2059, allocations: 0 / 0.8097 GB, free: 9.879 MB / 490.7 MB Notification: Performance of Templates: time 0.01472/0.2206, allocations: 8.269 MB / 0.8178 GB, free: 1.637 MB / 490.7 MB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1)