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 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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.8078/0.8078, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 187.4 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 221.3 MB / 441.4 MB, free: 4.605 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008841/0.0008845, allocations: 97.16 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 277.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.234e-05/4.236e-05, allocations: 0 / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5257, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.6661, allocations: 123.9 MB / 0.8852 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.6664, allocations: 91.64 kB / 0.8853 GB, free: 0.6016 MB / 0.5417 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.05912/0.7255, allocations: 20.19 MB / 0.905 GB, free: 12.29 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7255, allocations: 4 kB / 0.905 GB, free: 12.29 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.241e-05/0.7256, allocations: 15.98 kB / 0.905 GB, free: 12.27 MB / 0.573 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.002343/0.7279, allocations: 0.8747 MB / 0.9059 GB, free: 11.35 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.728, allocations: 12.03 kB / 0.9059 GB, free: 11.34 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.7306, allocations: 494.7 kB / 0.9064 GB, free: 10.86 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/0.7315, allocations: 439.3 kB / 0.9068 GB, free: 10.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.7316, allocations: 118.1 kB / 0.9069 GB, free: 10.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/0.7317, allocations: 44 kB / 0.9069 GB, free: 10.21 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.7329, allocations: 0.6676 MB / 0.9076 GB, free: 9.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.7329, allocations: 3.938 kB / 0.9076 GB, free: 9.516 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.148e-05/0.733, allocations: 20 kB / 0.9076 GB, free: 9.496 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.733, allocations: 15.98 kB / 0.9076 GB, free: 9.48 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7342, allocations: 0.6833 MB / 0.9083 GB, free: 8.797 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/0.7383, allocations: 2.208 MB / 0.9105 GB, free: 6.535 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.7403, allocations: 0.8472 MB / 0.9113 GB, free: 5.676 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/0.7409, allocations: 362.4 kB / 0.9116 GB, free: 5.32 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/0.7427, allocations: 1.765 MB / 0.9133 GB, free: 3.168 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007554/0.7435, allocations: 442.9 kB / 0.9138 GB, free: 2.723 MB / 0.573 GB Notification: Performance of pre-optimization done (n=58): time 2.986e-06/0.7435, allocations: 0 / 0.9138 GB, free: 2.723 MB / 0.573 GB Notification: Performance of matching and sorting (n=58): time 0.007043/0.7506, allocations: 1.225 MB / 0.915 GB, free: 1.484 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/0.7507, allocations: 141.1 kB / 0.9151 GB, free: 1.316 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.7514, allocations: 411.2 kB / 0.9155 GB, free: 0.9062 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.7515, allocations: 37.7 kB / 0.9155 GB, free: 0.8633 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.7517, allocations: 250.3 kB / 0.9158 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.752, allocations: 193.2 kB / 0.916 GB, free: 436 kB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.752, allocations: 12 kB / 0.916 GB, free: 424 kB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.7522, allocations: 362.7 kB / 0.9163 GB, free: 52 kB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4437/1.196, allocations: 295.5 kB / 0.9166 GB, free: 134.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/1.197, allocations: 403.8 kB / 0.917 GB, free: 134.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/1.197, allocations: 305 kB / 0.9173 GB, free: 134.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/1.197, allocations: 0.7812 kB / 0.9173 GB, free: 134.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.007551/1.205, allocations: 1.29 MB / 0.9185 GB, free: 134.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/1.205, allocations: 9.781 kB / 0.9185 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.205, allocations: 1.688 kB / 0.9185 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007864/1.213, allocations: 0.7342 MB / 0.9193 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.214, allocations: 186.6 kB / 0.9194 GB, free: 134.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006305/1.221, allocations: 2.559 MB / 0.9219 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.222, allocations: 141.8 kB / 0.9221 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.222, allocations: 34.86 kB / 0.9221 GB, free: 133 MB / 0.573 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 () * 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.0002029/1.222, allocations: 138.8 kB / 0.9222 GB, free: 132.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/1.222, allocations: 52.8 kB / 0.9223 GB, free: 132.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/1.226, allocations: 1.174 MB / 0.9234 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.226, allocations: 7.781 kB / 0.9234 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.226, allocations: 1.344 kB / 0.9234 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.226, allocations: 7.359 kB / 0.9234 GB, free: 132.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004375/1.231, allocations: 1.99 MB / 0.9254 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.231, allocations: 0 / 0.9254 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/1.232, allocations: 174.2 kB / 0.9256 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.234, allocations: 334.7 kB / 0.9259 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.234, allocations: 23.38 kB / 0.9259 GB, free: 132.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003511/1.237, allocations: 2.091 MB / 0.9279 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.238, allocations: 0.625 kB / 0.9279 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/1.241, allocations: 1.102 MB / 0.929 GB, free: 130.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/1.242, allocations: 241.5 kB / 0.9292 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/1.242, allocations: 11.62 kB / 0.9293 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008152/1.242, allocations: 101.1 kB / 0.9294 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/1.243, allocations: 49.95 kB / 0.9294 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/1.243, allocations: 30.98 kB / 0.9294 GB, free: 130.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00036/1.243, allocations: 323 kB / 0.9297 GB, free: 130.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 0 / 0.9297 GB, free: 130.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009875/1.244, allocations: 293.9 kB / 0.93 GB, free: 130.3 MB / 0.573 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) * 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.001119/1.245, allocations: 0.5219 MB / 0.9305 GB, free: 130.2 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0025/1.248, allocations: 0.9424 MB / 0.9315 GB, free: 129.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.248, allocations: 3.875 kB / 0.9315 GB, free: 129.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/1.249, allocations: 0.5692 MB / 0.932 GB, free: 129.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/1.249, allocations: 49.38 kB / 0.9321 GB, free: 129.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.251, allocations: 0.8577 MB / 0.9329 GB, free: 129.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/1.251, allocations: 0.8927 MB / 0.9338 GB, free: 128.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006483/1.252, allocations: 144.8 kB / 0.9339 GB, free: 128.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/1.252, allocations: 64.48 kB / 0.934 GB, free: 128.4 MB / 0.573 GB Notification: Performance of SimCode: time 6.21e-07/1.252, allocations: 7.531 kB / 0.934 GB, free: 128.4 MB / 0.573 GB Notification: Performance of Templates: time 0.01579/1.268, allocations: 11.41 MB / 0.9451 GB, free: 127.1 MB / 0.573 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)