Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8781/0.8781, allocations: 143.4 MB / 158.3 MB, free: 5.633 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 172.4 kB / 191.5 MB, free: 5.652 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.581/1.581, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.0009262/0.0009263, allocations: 96.25 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 270 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005942/0.0005943, allocations: 11.53 kB / 0.6928 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2054, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7142/0.9197, allocations: 123.4 MB / 0.8942 GB, free: 21.94 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.92, allocations: 89.44 kB / 0.8943 GB, free: 21.94 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.0594/0.9794, allocations: 20.04 MB / 0.9138 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.855e-06/0.9795, allocations: 7.172 kB / 0.9138 GB, free: 20.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.553e-05/0.9795, allocations: 7.906 kB / 0.9139 GB, free: 20.13 MB / 0.5417 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.001846/0.9813, allocations: 0.9168 MB / 0.9148 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9814, allocations: 8.578 kB / 0.9148 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.9838, allocations: 0.4888 MB / 0.9152 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.9845, allocations: 428.4 kB / 0.9156 GB, free: 19.17 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.9847, allocations: 119.9 kB / 0.9158 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.9847, allocations: 49.66 kB / 0.9158 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.9861, allocations: 0.7481 MB / 0.9165 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.9862, allocations: 3.938 kB / 0.9165 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.9862, allocations: 22.12 kB / 0.9166 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9863, allocations: 11.66 kB / 0.9166 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.9883, allocations: 0.909 MB / 0.9175 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003701/0.992, allocations: 2.026 MB / 0.9194 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.995, allocations: 1.096 MB / 0.9205 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/0.9965, allocations: 1.759 MB / 0.9222 GB, free: 16.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.9976, allocations: 0.5061 MB / 0.9227 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=55): time 2.966e-06/0.9976, allocations: 0 / 0.9227 GB, free: 16.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55): time 0.003313/1.001, allocations: 1.259 MB / 0.924 GB, free: 16.35 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.001, allocations: 139.7 kB / 0.9241 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/1.002, allocations: 430.6 kB / 0.9245 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/1.002, allocations: 36.77 kB / 0.9245 GB, free: 16.06 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/1.002, allocations: 265.9 kB / 0.9248 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/1.002, allocations: 179.8 kB / 0.925 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/1.002, allocations: 11.34 kB / 0.925 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/1.002, allocations: 360.6 kB / 0.9253 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009016/1.003, allocations: 389.8 kB / 0.9257 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/1.004, allocations: 493.6 kB / 0.9262 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/1.005, allocations: 403.2 kB / 0.9265 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.005, allocations: 0 / 0.9265 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002041/1.007, allocations: 0.9602 MB / 0.9275 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.007, allocations: 3.719 kB / 0.9275 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.007, allocations: 7.797 kB / 0.9275 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/1.007, allocations: 3.781 kB / 0.9275 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.012, allocations: 0.5153 MB / 0.928 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/1.014, allocations: 1.653 MB / 0.9296 GB, free: 29.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/1.015, allocations: 141.5 kB / 0.9297 GB, free: 29.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/1.015, allocations: 30.73 kB / 0.9298 GB, free: 29.84 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 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004313/1.016, allocations: 208.9 kB / 0.93 GB, free: 29.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.016, allocations: 58.27 kB / 0.93 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/1.019, allocations: 1.196 MB / 0.9312 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.019, allocations: 7.781 kB / 0.9312 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.019, allocations: 4 kB / 0.9312 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.019, allocations: 3.797 kB / 0.9312 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008769/1.02, allocations: 0.7797 MB / 0.932 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.02, allocations: 0 / 0.932 GB, free: 29.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/1.021, allocations: 171.1 kB / 0.9321 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/1.022, allocations: 113.6 kB / 0.9322 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/1.022, allocations: 21.66 kB / 0.9323 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/1.024, allocations: 1.667 MB / 0.9339 GB, free: 28 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.024, allocations: 0 / 0.9339 GB, free: 28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/1.027, allocations: 1.094 MB / 0.935 GB, free: 27.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.027, allocations: 233.4 kB / 0.9352 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/1.027, allocations: 14.53 kB / 0.9352 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007074/1.028, allocations: 94.22 kB / 0.9353 GB, free: 27.72 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.028, allocations: 46.66 kB / 0.9353 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.028, allocations: 30.64 kB / 0.9354 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004404/1.029, allocations: 343.8 kB / 0.9357 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.029, allocations: 0 / 0.9357 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001081/1.03, allocations: 280.5 kB / 0.936 GB, free: 27.56 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 (68): * Single equations (assignments): 66 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001405/1.031, allocations: 0.5577 MB / 0.9365 GB, free: 27.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004544/1.036, allocations: 1.125 MB / 0.9376 GB, free: 27.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.036, allocations: 3.875 kB / 0.9376 GB, free: 27.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/1.037, allocations: 0.6103 MB / 0.9382 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/1.038, allocations: 56.02 kB / 0.9383 GB, free: 26.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/1.04, allocations: 1.606 MB / 0.9398 GB, free: 26.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/1.041, allocations: 0.888 MB / 0.9407 GB, free: 25.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007039/1.041, allocations: 149.5 kB / 0.9408 GB, free: 25.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/1.042, allocations: 68.61 kB / 0.9409 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/1.042, allocations: 0 / 0.9409 GB, free: 25.23 MB / 0.5573 GB Notification: Performance of Templates: time 0.01521/1.057, allocations: 9.442 MB / 0.9501 GB, free: 20.48 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.pipe 2>&1)