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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00142/0.00142, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.333/1.333, 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.002042/0.002042, allocations: 291 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 97.59 kB / 0.5945 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1628, allocations: 86.98 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005092/0.1679, allocations: 3.737 MB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1731, allocations: 3.446 MB / 0.6864 GB, free: 9.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.1735, allocations: 11.94 kB / 0.6865 GB, free: 9.98 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.0005095/0.1741, allocations: 103.3 kB / 0.6866 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.1753, allocations: 378.2 kB / 0.6869 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007912/0.1761, allocations: 322.3 kB / 0.6872 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007991/0.1769, allocations: 0.7056 MB / 0.6879 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.1772, allocations: 185.6 kB / 0.6881 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004602/0.1777, allocations: 274.7 kB / 0.6884 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004822/0.1782, allocations: 290.7 kB / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1783, allocations: 32 kB / 0.6887 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.1791, allocations: 479.4 kB / 0.6891 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1793, allocations: 131.5 kB / 0.6892 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.1797, allocations: 286.3 kB / 0.6895 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.1809, allocations: 1.048 MB / 0.6905 GB, free: 5.789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1809, allocations: 0 / 0.6905 GB, free: 5.789 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1809, allocations: 0 / 0.6905 GB, free: 5.789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.1809, allocations: 0 / 0.6905 GB, free: 5.789 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.002136/0.1831, allocations: 0.9953 MB / 0.6915 GB, free: 4.738 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1831, allocations: 8.031 kB / 0.6915 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.1868, allocations: 0.6206 MB / 0.6921 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.1882, allocations: 0.6195 MB / 0.6927 GB, free: 3.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.1883, allocations: 122.7 kB / 0.6928 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1884, allocations: 47.94 kB / 0.6929 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.1901, allocations: 0.6987 MB / 0.6936 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1901, allocations: 0 / 0.6936 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.1902, allocations: 24 kB / 0.6936 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1902, allocations: 8 kB / 0.6936 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/0.1922, allocations: 0.7611 MB / 0.6944 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.1957, allocations: 1.814 MB / 0.6961 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.1986, allocations: 0.8523 MB / 0.697 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.1996, allocations: 365.9 kB / 0.6973 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001828/0.2014, allocations: 1.769 MB / 0.699 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.2025, allocations: 442.7 kB / 0.6995 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=55): time 2.816e-06/0.2026, allocations: 0 / 0.6995 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55): time 0.007129/0.2097, allocations: 1.62 MB / 0.701 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2098, allocations: 119.3 kB / 0.7011 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.2103, allocations: 410 kB / 0.7015 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.2104, allocations: 33.7 kB / 0.7016 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.2106, allocations: 272.7 kB / 0.7018 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.2108, allocations: 181.4 kB / 0.702 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/0.211, allocations: 126.2 kB / 0.7021 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2111, allocations: 358.8 kB / 0.7025 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.212, allocations: 305.1 kB / 0.7028 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.213, allocations: 457.3 kB / 0.7032 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/0.2149, allocations: 0.7067 MB / 0.7039 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2149, allocations: 0 / 0.7039 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003836/0.2187, allocations: 1.049 MB / 0.7049 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2188, allocations: 8 kB / 0.7049 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.2188, allocations: 3.938 kB / 0.7049 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007532/0.2195, allocations: 140.7 kB / 0.7051 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/0.2204, allocations: 156 kB / 0.7052 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005391/0.2258, allocations: 1.995 MB / 0.7072 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.2266, allocations: 99.52 kB / 0.7072 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.2267, allocations: 27.97 kB / 0.7073 GB, free: 3.73 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.0003334/0.227, allocations: 207 kB / 0.7075 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.2272, allocations: 51.34 kB / 0.7075 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003419/0.2306, allocations: 1.052 MB / 0.7085 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2306, allocations: 8 kB / 0.7086 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2306, allocations: 3.938 kB / 0.7086 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.2306, allocations: 3.938 kB / 0.7086 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.2347, allocations: 1.751 MB / 0.7103 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.2347, allocations: 3.984 kB / 0.7103 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/0.2354, allocations: 147.8 kB / 0.7104 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/0.2362, allocations: 120.7 kB / 0.7105 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.484e-05/0.2363, allocations: 15.98 kB / 0.7105 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.2397, allocations: 1.766 MB / 0.7123 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2397, allocations: 0 / 0.7123 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.2429, allocations: 1.011 MB / 0.7133 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.2433, allocations: 216.1 kB / 0.7135 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2434, allocations: 12 kB / 0.7135 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/0.2441, allocations: 65.47 kB / 0.7135 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.2442, allocations: 40.5 kB / 0.7136 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.2443, allocations: 28.05 kB / 0.7136 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003641/0.2446, allocations: 291.1 kB / 0.7139 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2447, allocations: 0 / 0.7139 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000837/0.2455, allocations: 231.7 kB / 0.7141 GB, free: 12.46 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.001217/0.2467, allocations: 0.5049 MB / 0.7146 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002231/0.249, allocations: 0.8657 MB / 0.7154 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.249, allocations: 0 / 0.7154 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.2501, allocations: 0.5173 MB / 0.7159 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.2506, allocations: 69.81 kB / 0.716 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.2531, allocations: 1.488 MB / 0.7175 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.2535, allocations: 0.8775 MB / 0.7183 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007264/0.2543, allocations: 144.5 kB / 0.7185 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.2545, allocations: 75.38 kB / 0.7185 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.2545, allocations: 0 / 0.7185 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.01686/0.2714, allocations: 10.03 MB / 0.7283 GB, free: 14.02 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)