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.00107/0.00107, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.00111/0.00111, allocations: 191.5 kB / 16.25 MB, free: 6.629 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.277/1.277, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 274.9 kB / 290.4 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9249/0.9249, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 88.92 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1476, allocations: 86.98 MB / 0.6796 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004749/0.1524, allocations: 3.76 MB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.1568, allocations: 3.382 MB / 0.6866 GB, free: 9.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002719/0.1571, allocations: 7.938 kB / 0.6866 GB, free: 9.883 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.1576, allocations: 103.3 kB / 0.6867 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009582/0.1586, allocations: 398.2 kB / 0.6871 GB, free: 9.391 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.1592, allocations: 330.4 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.1599, allocations: 0.7525 MB / 0.6881 GB, free: 8.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002844/0.1602, allocations: 194.6 kB / 0.6883 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.1605, allocations: 310.8 kB / 0.6886 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.1609, allocations: 324.7 kB / 0.6889 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-05/0.161, allocations: 64 kB / 0.689 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007091/0.1617, allocations: 0.5111 MB / 0.6895 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1619, allocations: 163.5 kB / 0.6896 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.1622, allocations: 322.3 kB / 0.6899 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1633, allocations: 1.071 MB / 0.691 GB, free: 5.375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1633, allocations: 4 kB / 0.691 GB, free: 5.371 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1633, allocations: 0 / 0.691 GB, free: 5.371 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.1633, allocations: 0 / 0.691 GB, free: 5.371 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.001794/0.1651, allocations: 0.9992 MB / 0.692 GB, free: 4.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1651, allocations: 8.031 kB / 0.692 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003576/0.1687, allocations: 0.6206 MB / 0.6926 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.17, allocations: 0.6234 MB / 0.6932 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.1701, allocations: 122.7 kB / 0.6933 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.1702, allocations: 43.94 kB / 0.6933 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1717, allocations: 0.6947 MB / 0.694 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1717, allocations: 0 / 0.694 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.52e-05/0.1718, allocations: 20 kB / 0.694 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1718, allocations: 12 kB / 0.6941 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.1737, allocations: 0.7611 MB / 0.6948 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.177, allocations: 1.81 MB / 0.6966 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002773/0.1798, allocations: 0.8513 MB / 0.6974 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009328/0.1807, allocations: 362 kB / 0.6977 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/0.1824, allocations: 1.765 MB / 0.6995 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.1835, allocations: 442.7 kB / 0.6999 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 1.984e-06/0.1835, allocations: 0 / 0.6999 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.006842/0.1904, allocations: 1.616 MB / 0.7015 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.1904, allocations: 119.2 kB / 0.7016 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.1909, allocations: 406 kB / 0.702 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.191, allocations: 37.7 kB / 0.702 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1912, allocations: 276.7 kB / 0.7023 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.1913, allocations: 189.4 kB / 0.7024 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.1916, allocations: 122.2 kB / 0.7026 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1917, allocations: 358.8 kB / 0.7029 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009301/0.1926, allocations: 305.1 kB / 0.7032 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009966/0.1937, allocations: 453.3 kB / 0.7036 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.1955, allocations: 0.7184 MB / 0.7043 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1955, allocations: 0 / 0.7043 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003798/0.1993, allocations: 1.042 MB / 0.7053 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1993, allocations: 4 kB / 0.7054 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1993, allocations: 11.88 kB / 0.7054 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007596/0.2001, allocations: 141 kB / 0.7055 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.2009, allocations: 155.8 kB / 0.7056 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005004/0.2059, allocations: 2.122 MB / 0.7077 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008101/0.2068, allocations: 99.52 kB / 0.7078 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2069, allocations: 31.97 kB / 0.7078 GB, free: 3.18 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.0003442/0.2072, allocations: 206.3 kB / 0.708 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.2074, allocations: 51.34 kB / 0.7081 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.2108, allocations: 1.056 MB / 0.7091 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2108, allocations: 8 kB / 0.7091 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2108, allocations: 0 / 0.7091 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2109, allocations: 3.984 kB / 0.7091 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.215, allocations: 1.752 MB / 0.7108 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.215, allocations: 0 / 0.7108 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007613/0.2158, allocations: 143.8 kB / 0.711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006307/0.2164, allocations: 116.7 kB / 0.7111 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/0.2165, allocations: 27.97 kB / 0.7111 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003398/0.2199, allocations: 1.9 MB / 0.713 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.2199, allocations: 0 / 0.713 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/0.223, allocations: 1.011 MB / 0.714 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.2233, allocations: 208.2 kB / 0.7142 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2234, allocations: 12 kB / 0.7142 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.2241, allocations: 59.92 kB / 0.7142 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2242, allocations: 48.5 kB / 0.7143 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.2243, allocations: 19.98 kB / 0.7143 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003427/0.2246, allocations: 291.1 kB / 0.7146 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.432e-06/0.2246, allocations: 3.938 kB / 0.7146 GB, free: 12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007709/0.2254, allocations: 239.6 kB / 0.7148 GB, free: 11.77 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.001159/0.2266, allocations: 0.5098 MB / 0.7153 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.2291, allocations: 0.9163 MB / 0.7162 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2291, allocations: 0 / 0.7162 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2302, allocations: 0.5134 MB / 0.7167 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.2307, allocations: 70.86 kB / 0.7168 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.2333, allocations: 1.493 MB / 0.7182 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.2338, allocations: 0.8772 MB / 0.7191 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007342/0.2345, allocations: 152.5 kB / 0.7192 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.2348, allocations: 71.39 kB / 0.7193 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2348, allocations: 0 / 0.7193 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of Templates: time 0.01777/0.2525, allocations: 10.36 MB / 0.7294 GB, free: 12.93 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)