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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7639/0.7639, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 179.4 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 90.34 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001618/0.001618, allocations: 262 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004415, allocations: 24 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3659, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1491/0.5149, allocations: 122 MB / 0.8586 GB, free: 4.129 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5153, allocations: 83.95 kB / 0.8587 GB, free: 4.047 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.05844/0.5737, allocations: 20.12 MB / 0.8784 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5738, allocations: 4 kB / 0.8784 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.5738, allocations: 8 kB / 0.8784 GB, free: 15.77 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002072/0.5759, allocations: 0.9374 MB / 0.8793 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.576, allocations: 8.031 kB / 0.8793 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.5784, allocations: 495.6 kB / 0.8798 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007059/0.5791, allocations: 461.8 kB / 0.8802 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.5793, allocations: 122.7 kB / 0.8803 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/0.5794, allocations: 48.75 kB / 0.8804 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.581, allocations: 0.7923 MB / 0.8811 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.5811, allocations: 0 / 0.8811 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.5812, allocations: 27.97 kB / 0.8812 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.5812, allocations: 16 kB / 0.8812 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.5833, allocations: 0.925 MB / 0.8821 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.5877, allocations: 2.208 MB / 0.8842 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.5909, allocations: 1.116 MB / 0.8853 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.592, allocations: 478.2 kB / 0.8858 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/0.5938, allocations: 1.773 MB / 0.8875 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.5951, allocations: 0.5457 MB / 0.8881 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 4.378e-06/0.5951, allocations: 0 / 0.8881 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.013/0.6081, allocations: 2.307 MB / 0.8903 GB, free: 2.926 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/0.6082, allocations: 137.1 kB / 0.8904 GB, free: 2.762 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.609, allocations: 465.8 kB / 0.8909 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.6091, allocations: 37.7 kB / 0.8909 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.6093, allocations: 254.4 kB / 0.8912 GB, free: 2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.6095, allocations: 193.2 kB / 0.8913 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.6096, allocations: 12 kB / 0.8914 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.6098, allocations: 362.7 kB / 0.8917 GB, free: 1.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.6108, allocations: 420.8 kB / 0.8921 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.6119, allocations: 0.5229 MB / 0.8926 GB, free: 476 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2854/0.8973, allocations: 0.8591 MB / 0.8935 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.8974, allocations: 0.6875 kB / 0.8935 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.008206/0.9056, allocations: 1.529 MB / 0.8949 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.9057, allocations: 5.625 kB / 0.895 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.9057, allocations: 5.938 kB / 0.895 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/0.9128, allocations: 0.7346 MB / 0.8957 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.914, allocations: 180.6 kB / 0.8958 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005847/0.9199, allocations: 2.564 MB / 0.8984 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.9211, allocations: 148.6 kB / 0.8985 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.9212, allocations: 30.16 kB / 0.8985 GB, free: 134.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {3} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.9216, allocations: 205.6 kB / 0.8987 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.9217, allocations: 56.94 kB / 0.8988 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.9263, allocations: 1.405 MB / 0.9001 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.9263, allocations: 7.312 kB / 0.9002 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9263, allocations: 1.312 kB / 0.9002 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.9263, allocations: 4.203 kB / 0.9002 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.9318, allocations: 2.215 MB / 0.9023 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9318, allocations: 6.531 kB / 0.9023 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.9326, allocations: 175 kB / 0.9025 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.9347, allocations: 333.7 kB / 0.9028 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.9347, allocations: 18.72 kB / 0.9028 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002763/0.9375, allocations: 2.08 MB / 0.9049 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.9375, allocations: 0 / 0.9049 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003604/0.9411, allocations: 1.343 MB / 0.9062 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.9415, allocations: 238 kB / 0.9064 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.569e-05/0.9416, allocations: 15.78 kB / 0.9064 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.9423, allocations: 94.28 kB / 0.9065 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.9424, allocations: 55.39 kB / 0.9066 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/0.9425, allocations: 30.66 kB / 0.9066 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003745/0.9429, allocations: 326 kB / 0.9069 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9429, allocations: 0 / 0.9069 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001032/0.9439, allocations: 293.9 kB / 0.9072 GB, free: 132.4 MB / 0.5573 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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.9452, allocations: 0.5467 MB / 0.9077 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003376/0.9485, allocations: 1.168 MB / 0.9089 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9486, allocations: 0 / 0.9089 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.95, allocations: 0.6711 MB / 0.9095 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.9506, allocations: 76.64 kB / 0.9096 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.9529, allocations: 1.615 MB / 0.9112 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.9532, allocations: 0.8804 MB / 0.912 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006795/0.9539, allocations: 145.6 kB / 0.9122 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.9541, allocations: 64.2 kB / 0.9122 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.9541, allocations: 2.406 kB / 0.9122 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01577/0.9699, allocations: 11.34 MB / 0.9233 GB, free: 126.3 MB / 0.5573 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)