Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001616/0.001616, allocations: 193.3 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.00208, allocations: 286.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9665/0.9665, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 92.88 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004929/0.1586, allocations: 3.721 MB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.1631, allocations: 3.42 MB / 0.6866 GB, free: 9.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1634, allocations: 11.94 kB / 0.6866 GB, free: 9.887 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.0004559/0.1639, allocations: 95.31 kB / 0.6867 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.1648, allocations: 398.2 kB / 0.6871 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.1655, allocations: 353.3 kB / 0.6874 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006791/0.1662, allocations: 0.8074 MB / 0.6882 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.1665, allocations: 198.6 kB / 0.6884 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.1669, allocations: 342.8 kB / 0.6887 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.1673, allocations: 342.6 kB / 0.689 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.554e-05/0.1674, allocations: 68 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.1682, allocations: 0.5111 MB / 0.6896 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.1684, allocations: 179.4 kB / 0.6898 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.1687, allocations: 334.3 kB / 0.6901 GB, free: 6.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1698, allocations: 1.102 MB / 0.6912 GB, free: 5.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1698, allocations: 0 / 0.6912 GB, free: 5.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1698, allocations: 0 / 0.6912 GB, free: 5.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1698, allocations: 0 / 0.6912 GB, free: 5.195 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002101/0.1719, allocations: 1.019 MB / 0.6922 GB, free: 4.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.172, allocations: 8.031 kB / 0.6922 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003011/0.175, allocations: 0.5621 MB / 0.6927 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1763, allocations: 0.6312 MB / 0.6933 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.1764, allocations: 126.2 kB / 0.6935 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.1765, allocations: 44 kB / 0.6935 GB, free: 2.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1779, allocations: 0.683 MB / 0.6942 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.178, allocations: 0 / 0.6942 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.178, allocations: 20 kB / 0.6942 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.178, allocations: 12 kB / 0.6942 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.1797, allocations: 0.7065 MB / 0.6949 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1829, allocations: 1.875 MB / 0.6967 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.1857, allocations: 0.8247 MB / 0.6975 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.1865, allocations: 350.3 kB / 0.6979 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/0.1883, allocations: 1.769 MB / 0.6996 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009215/0.1893, allocations: 422.9 kB / 0.7 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.1893, allocations: 0 / 0.7 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56): time 0.006944/0.1962, allocations: 1.507 MB / 0.7015 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.1963, allocations: 111.4 kB / 0.7016 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.1968, allocations: 406 kB / 0.702 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.258e-05/0.1969, allocations: 33.7 kB / 0.702 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.1971, allocations: 272.6 kB / 0.7022 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1973, allocations: 189.3 kB / 0.7024 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.1975, allocations: 126.2 kB / 0.7025 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1976, allocations: 358.8 kB / 0.7029 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.1984, allocations: 285.1 kB / 0.7032 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.1992, allocations: 437.4 kB / 0.7036 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.2008, allocations: 0.6989 MB / 0.7043 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2008, allocations: 0 / 0.7043 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004598/0.2054, allocations: 1.073 MB / 0.7053 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2054, allocations: 11.94 kB / 0.7053 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2054, allocations: 4 kB / 0.7053 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.2091, allocations: 376.6 kB / 0.7057 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.2101, allocations: 163.7 kB / 0.7058 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.2145, allocations: 2.176 MB / 0.708 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009237/0.2154, allocations: 91.42 kB / 0.7081 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.2155, allocations: 35.97 kB / 0.7081 GB, free: 2.934 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000576/0.2161, allocations: 206.3 kB / 0.7083 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.2164, allocations: 47.44 kB / 0.7083 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/0.2196, allocations: 1.07 MB / 0.7094 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2197, allocations: 11.94 kB / 0.7094 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2197, allocations: 0 / 0.7094 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.2197, allocations: 3.984 kB / 0.7094 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.2236, allocations: 1.777 MB / 0.7111 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.2236, allocations: 7.984 kB / 0.7111 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/0.2244, allocations: 143.8 kB / 0.7113 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/0.2254, allocations: 140.7 kB / 0.7114 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.2255, allocations: 27.92 kB / 0.7114 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.228, allocations: 1.916 MB / 0.7133 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.228, allocations: 4 kB / 0.7133 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.2309, allocations: 1.021 MB / 0.7143 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.2312, allocations: 208.2 kB / 0.7145 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2313, allocations: 12 kB / 0.7145 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.232, allocations: 56.12 kB / 0.7146 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.2321, allocations: 48.58 kB / 0.7146 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.2322, allocations: 23.98 kB / 0.7146 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003681/0.2326, allocations: 287.1 kB / 0.7149 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2326, allocations: 0 / 0.7149 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008476/0.2334, allocations: 243.6 kB / 0.7151 GB, free: 11.44 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 (67): * Single equations (assignments): 65 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.2348, allocations: 0.4939 MB / 0.7156 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002644/0.2374, allocations: 0.9303 MB / 0.7165 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2374, allocations: 0 / 0.7165 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.2386, allocations: 0.5412 MB / 0.7171 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2391, allocations: 78.72 kB / 0.7171 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.2415, allocations: 1.469 MB / 0.7186 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.242, allocations: 0.8851 MB / 0.7194 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007181/0.2427, allocations: 152.4 kB / 0.7196 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.2429, allocations: 71.33 kB / 0.7196 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.243, allocations: 0 / 0.7196 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of Templates: time 0.02258/0.2655, allocations: 9.987 MB / 0.7294 GB, free: 12.95 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)