Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.743/0.743, allocations: 143.8 MB / 159.1 MB, free: 6.516 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.001186/0.001186, allocations: 179.2 kB / 192 MB, free: 6.734 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.324/1.324, allocations: 225.7 MB / 450.4 MB, free: 5 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.0007892/0.0007894, allocations: 103.5 kB / 0.5211 GB, free: 1.652 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.001684/0.001684, allocations: 279 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004271, allocations: 10.69 kB / 0.6948 GB, free: 59.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 82.46 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.003738/0.1311, allocations: 3.21 MB / 0.7784 GB, free: 11.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005282/0.1364, allocations: 4.956 MB / 0.7833 GB, free: 5.766 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.1367, allocations: 7.938 kB / 0.7833 GB, free: 5.758 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.1372, allocations: 111.3 kB / 0.7834 GB, free: 5.648 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000958/0.1381, allocations: 366.2 kB / 0.7837 GB, free: 5.289 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.1389, allocations: 331.4 kB / 0.7841 GB, free: 4.965 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.1395, allocations: 0.6863 MB / 0.7847 GB, free: 4.277 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1397, allocations: 181.6 kB / 0.7849 GB, free: 4.094 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.14, allocations: 254.7 kB / 0.7851 GB, free: 3.844 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003501/0.1404, allocations: 258.7 kB / 0.7854 GB, free: 3.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.672e-05/0.1405, allocations: 23.94 kB / 0.7854 GB, free: 3.566 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.1412, allocations: 447.5 kB / 0.7858 GB, free: 3.129 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1414, allocations: 119.4 kB / 0.786 GB, free: 3.012 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1416, allocations: 288.1 kB / 0.7862 GB, free: 2.723 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009809/0.1426, allocations: 1.008 MB / 0.7872 GB, free: 1.711 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1426, allocations: 8 kB / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1426, allocations: 0 / 0.7872 GB, free: 1.703 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.1426, allocations: 0 / 0.7872 GB, free: 1.703 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001527/0.1442, allocations: 0.8668 MB / 0.7881 GB, free: 0.7852 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1442, allocations: 8.031 kB / 0.7881 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.1474, allocations: 0.6284 MB / 0.7887 GB, free: 152 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1486, allocations: 0.639 MB / 0.7893 GB, free: 15.47 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.1488, allocations: 126.7 kB / 0.7894 GB, free: 15.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.1489, allocations: 43.94 kB / 0.7895 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.1503, allocations: 0.6947 MB / 0.7902 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1503, allocations: 3.984 kB / 0.7902 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.758e-05/0.1504, allocations: 16 kB / 0.7902 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1504, allocations: 12 kB / 0.7902 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.1522, allocations: 0.7611 MB / 0.7909 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.1553, allocations: 1.806 MB / 0.7927 GB, free: 11.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.1579, allocations: 0.8554 MB / 0.7935 GB, free: 11.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/0.1588, allocations: 369.9 kB / 0.7939 GB, free: 10.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00163/0.1605, allocations: 1.769 MB / 0.7956 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009872/0.1615, allocations: 438.7 kB / 0.796 GB, free: 8.094 MB / 474.7 MB Notification: Performance of pre-optimization done (n=55): time 2.305e-06/0.1615, allocations: 4 kB / 0.796 GB, free: 8.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.006186/0.1677, allocations: 1.64 MB / 0.7976 GB, free: 6.422 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.1678, allocations: 111.4 kB / 0.7977 GB, free: 6.289 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.1682, allocations: 414 kB / 0.7981 GB, free: 5.883 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.1683, allocations: 33.7 kB / 0.7982 GB, free: 5.844 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1685, allocations: 276.6 kB / 0.7984 GB, free: 5.566 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1687, allocations: 185.3 kB / 0.7986 GB, free: 5.383 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.1687, allocations: 15.94 kB / 0.7986 GB, free: 5.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1689, allocations: 362.8 kB / 0.799 GB, free: 5.004 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008092/0.1697, allocations: 309.1 kB / 0.7993 GB, free: 4.703 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.1706, allocations: 457.4 kB / 0.7997 GB, free: 4.203 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.1722, allocations: 0.7184 MB / 0.8004 GB, free: 3.441 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1723, allocations: 0 / 0.8004 GB, free: 3.441 MB / 474.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003383/0.1756, allocations: 1.057 MB / 0.8014 GB, free: 2.371 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1757, allocations: 4 kB / 0.8014 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1757, allocations: 4 kB / 0.8014 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007481/0.1765, allocations: 149 kB / 0.8016 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.1772, allocations: 159.7 kB / 0.8017 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.1817, allocations: 1.988 MB / 0.8037 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.1825, allocations: 112.3 kB / 0.8038 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.1826, allocations: 31.97 kB / 0.8038 GB, free: 15.79 MB / 490.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): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.1829, allocations: 205.6 kB / 0.804 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.183, allocations: 55.28 kB / 0.8041 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.1861, allocations: 1.056 MB / 0.8051 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1862, allocations: 8 kB / 0.8051 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1862, allocations: 0 / 0.8051 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1862, allocations: 7.984 kB / 0.8051 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/0.1898, allocations: 1.756 MB / 0.8068 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1899, allocations: 0 / 0.8068 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/0.1907, allocations: 147.8 kB / 0.807 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007006/0.1914, allocations: 132.7 kB / 0.8071 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.1914, allocations: 23.97 kB / 0.8071 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.1945, allocations: 1.774 MB / 0.8088 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1946, allocations: 12.03 kB / 0.8089 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/0.1974, allocations: 1.019 MB / 0.8099 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.1976, allocations: 212.2 kB / 0.8101 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/0.1977, allocations: 15.94 kB / 0.8101 GB, free: 9.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.1983, allocations: 66.33 kB / 0.8101 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.1985, allocations: 44.64 kB / 0.8102 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.1985, allocations: 27.98 kB / 0.8102 GB, free: 8.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.1989, allocations: 291.1 kB / 0.8105 GB, free: 8.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.914e-06/0.1989, allocations: 0 / 0.8105 GB, free: 8.699 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007194/0.1996, allocations: 243.5 kB / 0.8107 GB, free: 8.461 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): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.2007, allocations: 0.5664 MB / 0.8113 GB, free: 8.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002064/0.2028, allocations: 0.8696 MB / 0.8121 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2028, allocations: 4 kB / 0.8121 GB, free: 7.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.2038, allocations: 0.5135 MB / 0.8126 GB, free: 6.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.2043, allocations: 65.94 kB / 0.8127 GB, free: 6.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.2065, allocations: 1.543 MB / 0.8142 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.207, allocations: 0.8814 MB / 0.815 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000706/0.2077, allocations: 144.4 kB / 0.8152 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2079, allocations: 71.39 kB / 0.8153 GB, free: 3.855 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2079, allocations: 0 / 0.8153 GB, free: 3.855 MB / 490.7 MB Notification: Performance of Templates: time 0.01602/0.2239, allocations: 9.94 MB / 0.825 GB, free: 9.945 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)