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.00184/0.00184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002069/0.002069, allocations: 191.9 kB / 16.14 MB, free: 6.715 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.541/1.541, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002591/0.002591, allocations: 291 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 96.59 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1552, allocations: 89.14 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005701/0.161, allocations: 3.755 MB / 0.6964 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005232/0.1662, allocations: 3.454 MB / 0.6998 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.1665, allocations: 7.938 kB / 0.6998 GB, free: 13.6 MB / 0.4981 GB [/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.0004949/0.167, allocations: 107.3 kB / 0.6999 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009643/0.168, allocations: 374.2 kB / 0.7003 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.1687, allocations: 330.3 kB / 0.7006 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009106/0.1697, allocations: 0.698 MB / 0.7013 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.17, allocations: 193.6 kB / 0.7015 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.1705, allocations: 270.7 kB / 0.7017 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004853/0.171, allocations: 302.6 kB / 0.702 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/0.1711, allocations: 28 kB / 0.702 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009733/0.1721, allocations: 467.5 kB / 0.7025 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.1723, allocations: 139.4 kB / 0.7026 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.1726, allocations: 286.3 kB / 0.7029 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1739, allocations: 1.052 MB / 0.7039 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1739, allocations: 0 / 0.7039 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1739, allocations: 0 / 0.7039 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.1739, allocations: 0 / 0.7039 GB, free: 9.398 MB / 0.4981 GB 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.002182/0.1761, allocations: 0.9874 MB / 0.7049 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.1762, allocations: 12.03 kB / 0.7049 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003753/0.1799, allocations: 0.6244 MB / 0.7055 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.1814, allocations: 0.6197 MB / 0.7061 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.1816, allocations: 114.7 kB / 0.7062 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1817, allocations: 51.94 kB / 0.7063 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.1833, allocations: 0.6987 MB / 0.7069 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1834, allocations: 0 / 0.7069 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-05/0.1834, allocations: 20 kB / 0.707 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1835, allocations: 12 kB / 0.707 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.1856, allocations: 0.765 MB / 0.7077 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.1892, allocations: 1.814 MB / 0.7095 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.1923, allocations: 0.8467 MB / 0.7103 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.1934, allocations: 365.9 kB / 0.7107 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/0.1954, allocations: 1.761 MB / 0.7124 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/0.1966, allocations: 447.9 kB / 0.7128 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.575e-06/0.1967, allocations: 0 / 0.7128 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.007457/0.2041, allocations: 1.613 MB / 0.7144 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/0.2042, allocations: 119.2 kB / 0.7145 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.2048, allocations: 413.9 kB / 0.7149 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/0.2048, allocations: 37.7 kB / 0.7149 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.2051, allocations: 276.7 kB / 0.7152 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.2053, allocations: 185.3 kB / 0.7154 GB, free: 13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2055, allocations: 118.2 kB / 0.7155 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2057, allocations: 358.8 kB / 0.7158 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009387/0.2067, allocations: 317 kB / 0.7161 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.2077, allocations: 441.5 kB / 0.7166 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.2097, allocations: 0.7144 MB / 0.7173 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2097, allocations: 0 / 0.7173 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003939/0.2136, allocations: 1.042 MB / 0.7183 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2137, allocations: 7.984 kB / 0.7183 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2137, allocations: 7.938 kB / 0.7183 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007764/0.2145, allocations: 136.7 kB / 0.7184 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.2153, allocations: 163.9 kB / 0.7186 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.2204, allocations: 1.991 MB / 0.7205 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.2212, allocations: 99.47 kB / 0.7206 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.2213, allocations: 31.97 kB / 0.7206 GB, free: 7.344 MB / 0.5137 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.000337/0.2216, allocations: 205.6 kB / 0.7208 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2218, allocations: 51.34 kB / 0.7209 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.2254, allocations: 1.048 MB / 0.7219 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.2254, allocations: 8 kB / 0.7219 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2254, allocations: 4 kB / 0.7219 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2254, allocations: 7.922 kB / 0.7219 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.2297, allocations: 1.751 MB / 0.7236 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2297, allocations: 0 / 0.7236 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/0.2304, allocations: 139.8 kB / 0.7238 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007637/0.2312, allocations: 128.7 kB / 0.7239 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.2313, allocations: 19.98 kB / 0.7239 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.2348, allocations: 1.77 MB / 0.7256 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2348, allocations: 0 / 0.7256 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.2381, allocations: 1.007 MB / 0.7266 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.2384, allocations: 216.1 kB / 0.7268 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.2385, allocations: 12 kB / 0.7268 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.2392, allocations: 67.88 kB / 0.7269 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.2394, allocations: 44.48 kB / 0.727 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.233e-05/0.2394, allocations: 23.98 kB / 0.727 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003935/0.2398, allocations: 287.1 kB / 0.7273 GB, free: 316 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2398, allocations: 0 / 0.7273 GB, free: 316 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008431/0.2407, allocations: 235.7 kB / 0.7275 GB, free: 80 kB / 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.001756/0.2424, allocations: 0.4986 MB / 0.728 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.2449, allocations: 0.8618 MB / 0.7288 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2449, allocations: 0 / 0.7288 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.2461, allocations: 0.5173 MB / 0.7293 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.2466, allocations: 70.48 kB / 0.7294 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.2494, allocations: 1.5 MB / 0.7308 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.2499, allocations: 0.8736 MB / 0.7317 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007354/0.2506, allocations: 148.5 kB / 0.7318 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.2509, allocations: 71.39 kB / 0.7319 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.2509, allocations: 0 / 0.7319 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of Templates: time 0.01841/0.2693, allocations: 10.03 MB / 0.7417 GB, free: 1.633 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)