Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007885/0.0007884, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005172/0.005173, allocations: 170.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 267.1 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9458/0.9458, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 11.8 kB / 0.5986 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004046/0.1549, allocations: 3.369 MB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.1598, allocations: 3.389 MB / 0.6917 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1602, allocations: 9.656 kB / 0.6917 GB, free: 8.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004215/0.1606, allocations: 99.31 kB / 0.6918 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.1616, allocations: 377.2 kB / 0.6922 GB, free: 7.832 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.1624, allocations: 322.3 kB / 0.6925 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.163, allocations: 0.7039 MB / 0.6932 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1633, allocations: 186.2 kB / 0.6934 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.1636, allocations: 243.7 kB / 0.6936 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.164, allocations: 272.4 kB / 0.6938 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.1641, allocations: 20 kB / 0.6939 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008019/0.1649, allocations: 456.3 kB / 0.6943 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1651, allocations: 127.4 kB / 0.6944 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.1653, allocations: 300 kB / 0.6947 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.1663, allocations: 1.016 MB / 0.6957 GB, free: 4.219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1663, allocations: 4 kB / 0.6957 GB, free: 4.215 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1663, allocations: 0 / 0.6957 GB, free: 4.215 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1664, allocations: 0 / 0.6957 GB, free: 4.215 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001649/0.168, allocations: 0.8707 MB / 0.6966 GB, free: 3.289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1681, allocations: 12.03 kB / 0.6966 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/0.1715, allocations: 0.6323 MB / 0.6972 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.1729, allocations: 0.6312 MB / 0.6978 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.173, allocations: 122.7 kB / 0.6979 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.1731, allocations: 51.94 kB / 0.698 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.1747, allocations: 0.6948 MB / 0.6986 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1747, allocations: 0 / 0.6986 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.1748, allocations: 20 kB / 0.6987 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1748, allocations: 16 kB / 0.6987 GB, free: 1.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.1767, allocations: 0.7728 MB / 0.6994 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.1799, allocations: 1.814 MB / 0.7012 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.1827, allocations: 0.8525 MB / 0.702 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.1836, allocations: 373.9 kB / 0.7024 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.1854, allocations: 1.765 MB / 0.7041 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.1865, allocations: 450.7 kB / 0.7045 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.665e-06/0.1865, allocations: 0 / 0.7045 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.006639/0.1931, allocations: 1.64 MB / 0.7061 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.1932, allocations: 127.2 kB / 0.7063 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/0.1937, allocations: 406 kB / 0.7067 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.1938, allocations: 37.7 kB / 0.7067 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.194, allocations: 276.7 kB / 0.707 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1941, allocations: 185.3 kB / 0.7071 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/0.1942, allocations: 49.7 kB / 0.7072 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1944, allocations: 362.8 kB / 0.7075 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.1953, allocations: 309.1 kB / 0.7078 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.1962, allocations: 453.5 kB / 0.7083 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.198, allocations: 0.7262 MB / 0.709 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.198, allocations: 0 / 0.709 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003609/0.2016, allocations: 1.057 MB / 0.71 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2016, allocations: 10.19 kB / 0.71 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2017, allocations: 11.92 kB / 0.71 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007312/0.2024, allocations: 141 kB / 0.7101 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007685/0.2032, allocations: 159.7 kB / 0.7103 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.2078, allocations: 2.011 MB / 0.7123 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.2085, allocations: 104.2 kB / 0.7124 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.2086, allocations: 31.97 kB / 0.7124 GB, free: 2.199 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,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.0003219/0.2089, allocations: 208.3 kB / 0.7126 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.796e-05/0.209, allocations: 51.34 kB / 0.7126 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/0.2124, allocations: 1.063 MB / 0.7137 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.2124, allocations: 8 kB / 0.7137 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.2124, allocations: 4 kB / 0.7137 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2124, allocations: 7.922 kB / 0.7137 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.2163, allocations: 1.763 MB / 0.7154 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2164, allocations: 0 / 0.7154 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006973/0.2171, allocations: 143.8 kB / 0.7156 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007426/0.2178, allocations: 132.7 kB / 0.7157 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.2179, allocations: 15.98 kB / 0.7157 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003218/0.2211, allocations: 1.797 MB / 0.7175 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2211, allocations: 0 / 0.7175 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.224, allocations: 1.019 MB / 0.7185 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.2243, allocations: 220.1 kB / 0.7187 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.2244, allocations: 12 kB / 0.7187 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.225, allocations: 65.25 kB / 0.7187 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2252, allocations: 48.48 kB / 0.7188 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.093e-05/0.2252, allocations: 19.98 kB / 0.7188 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003198/0.2256, allocations: 287.1 kB / 0.7191 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2256, allocations: 0 / 0.7191 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007484/0.2263, allocations: 243.6 kB / 0.7193 GB, free: 10.85 MB / 0.5137 GB 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.001133/0.2275, allocations: 0.4956 MB / 0.7198 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.2296, allocations: 0.8735 MB / 0.7206 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2296, allocations: 0 / 0.7206 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.2307, allocations: 0.5251 MB / 0.7212 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.2311, allocations: 69.88 kB / 0.7212 GB, free: 9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.2334, allocations: 1.559 MB / 0.7227 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.2339, allocations: 0.8853 MB / 0.7236 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006847/0.2346, allocations: 152.4 kB / 0.7238 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.2348, allocations: 71.39 kB / 0.7238 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2348, allocations: 0 / 0.7238 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of Templates: time 0.01667/0.2515, allocations: 9.937 MB / 0.7335 GB, free: 12.41 MB / 0.5294 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)