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: "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 97.95 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.004866/0.004866, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.225/1.225, allocations: 223.2 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 267 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8854/0.8854, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 14.81 kB / 0.5988 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.003337/0.1267, allocations: 3.367 MB / 0.6885 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.1305, allocations: 3.383 MB / 0.6918 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1306, allocations: 7.938 kB / 0.6918 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1309, allocations: 99.31 kB / 0.6919 GB, free: 8.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.1316, allocations: 377.4 kB / 0.6923 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1322, allocations: 329.6 kB / 0.6926 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.1327, allocations: 0.6939 MB / 0.6933 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.133, allocations: 188.2 kB / 0.6935 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.1332, allocations: 250.8 kB / 0.6937 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1336, allocations: 274.6 kB / 0.694 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.1336, allocations: 20 kB / 0.694 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005859/0.1342, allocations: 463.4 kB / 0.6944 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1343, allocations: 115.5 kB / 0.6945 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1346, allocations: 296 kB / 0.6948 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.1354, allocations: 1.02 MB / 0.6958 GB, free: 4.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1354, allocations: 8 kB / 0.6958 GB, free: 4.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1354, allocations: 0 / 0.6958 GB, free: 4.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1354, allocations: 0 / 0.6958 GB, free: 4.121 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.001399/0.1368, allocations: 0.8629 MB / 0.6967 GB, free: 3.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1369, allocations: 12.03 kB / 0.6967 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.714e-05/0.137, allocations: 90.7 kB / 0.6968 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.1402, allocations: 0.6323 MB / 0.6974 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.1414, allocations: 0.6352 MB / 0.698 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.1415, allocations: 122.4 kB / 0.6981 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.975e-05/0.1416, allocations: 44 kB / 0.6981 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1431, allocations: 0.7026 MB / 0.6988 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1431, allocations: 0 / 0.6988 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.1431, allocations: 16 kB / 0.6989 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1432, allocations: 12 kB / 0.6989 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.145, allocations: 0.7728 MB / 0.6996 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.1479, allocations: 1.825 MB / 0.7014 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.1506, allocations: 0.8553 MB / 0.7022 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.1515, allocations: 366 kB / 0.7026 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/0.153, allocations: 1.761 MB / 0.7043 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009517/0.154, allocations: 454.7 kB / 0.7047 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 1.713e-06/0.154, allocations: 0 / 0.7047 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.00629/0.1603, allocations: 1.648 MB / 0.7063 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1604, allocations: 119.3 kB / 0.7065 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.1608, allocations: 410 kB / 0.7069 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.1609, allocations: 37.69 kB / 0.7069 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.161, allocations: 272.6 kB / 0.7071 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.1612, allocations: 185.4 kB / 0.7073 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.1612, allocations: 49.69 kB / 0.7074 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1614, allocations: 366.7 kB / 0.7077 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.1622, allocations: 313.1 kB / 0.708 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008802/0.1631, allocations: 453.4 kB / 0.7085 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.1648, allocations: 0.7262 MB / 0.7092 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1648, allocations: 0 / 0.7092 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003387/0.1682, allocations: 1.053 MB / 0.7102 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1682, allocations: 11.94 kB / 0.7102 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1682, allocations: 4 kB / 0.7102 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.1689, allocations: 145 kB / 0.7103 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/0.1696, allocations: 155.8 kB / 0.7105 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.1739, allocations: 2.014 MB / 0.7125 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006651/0.1746, allocations: 104.2 kB / 0.7126 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.1747, allocations: 31.97 kB / 0.7126 GB, free: 2.008 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.0002468/0.1749, allocations: 206.3 kB / 0.7128 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.175, allocations: 55.34 kB / 0.7128 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.1781, allocations: 1.06 MB / 0.7139 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.1782, allocations: 8 kB / 0.7139 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1782, allocations: 3.938 kB / 0.7139 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1782, allocations: 7.984 kB / 0.7139 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.1819, allocations: 1.762 MB / 0.7156 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.182, allocations: 0 / 0.7156 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.1826, allocations: 143.8 kB / 0.7157 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000711/0.1834, allocations: 132.7 kB / 0.7159 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.1834, allocations: 19.98 kB / 0.7159 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.1864, allocations: 1.778 MB / 0.7176 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1864, allocations: 8 kB / 0.7176 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/0.1892, allocations: 1.027 MB / 0.7186 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.1895, allocations: 220.1 kB / 0.7189 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.763e-05/0.1896, allocations: 15.98 kB / 0.7189 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.1902, allocations: 65.16 kB / 0.7189 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.1903, allocations: 48.5 kB / 0.719 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.1903, allocations: 19.98 kB / 0.719 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003033/0.1906, allocations: 295.1 kB / 0.7193 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1907, allocations: 0 / 0.7193 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006743/0.1913, allocations: 232.9 kB / 0.7195 GB, free: 10.66 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.003988/0.1953, allocations: 1.965 MB / 0.7214 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002054/0.1974, allocations: 0.8774 MB / 0.7223 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1974, allocations: 0 / 0.7223 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.1984, allocations: 0.5135 MB / 0.7228 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1989, allocations: 78.75 kB / 0.7229 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.2106, allocations: 6.174 MB / 0.7289 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.211, allocations: 0.8851 MB / 0.7297 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006598/0.2116, allocations: 140.6 kB / 0.7299 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.212, allocations: 223.3 kB / 0.7301 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of SimCode: time 4.6e-07/0.212, allocations: 0 / 0.7301 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.672/0.884, allocations: 14.98 MB / 0.7447 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.8843, allocations: 304.3 kB / 0.745 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.904, allocations: 3.375 kB / 0.745 GB, free: 0.6367 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Photovoltaics_Examples_PVModuleSimpleMPP.fmu > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)