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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8131/0.8131, allocations: 141.7 MB / 154.3 MB, free: 15.5 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.001055/0.001055, allocations: 184 kB / 187.3 MB, free: 11.91 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.482/1.482, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0009735/0.0009737, allocations: 93.72 kB / 0.5124 GB, free: 24.09 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.00186, allocations: 268.9 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.658e-05/4.66e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4665, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6197, allocations: 123.2 MB / 0.8846 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.62, allocations: 88.7 kB / 0.8847 GB, free: 1.238 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.05699/0.677, allocations: 19.79 MB / 0.904 GB, free: 13.33 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6771, allocations: 0 / 0.904 GB, free: 13.33 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.606e-05/0.6771, allocations: 12 kB / 0.904 GB, free: 13.32 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001969/0.6791, allocations: 0.8552 MB / 0.9049 GB, free: 12.41 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6792, allocations: 8.031 kB / 0.9049 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.6821, allocations: 0.5416 MB / 0.9054 GB, free: 11.86 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008485/0.683, allocations: 452.8 kB / 0.9058 GB, free: 11.38 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.6831, allocations: 118.1 kB / 0.9059 GB, free: 11.25 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/0.6832, allocations: 47.98 kB / 0.906 GB, free: 11.2 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6844, allocations: 0.652 MB / 0.9066 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6844, allocations: 0 / 0.9066 GB, free: 10.53 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/0.6845, allocations: 19.98 kB / 0.9066 GB, free: 10.51 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.6845, allocations: 12 kB / 0.9066 GB, free: 10.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.6857, allocations: 0.6872 MB / 0.9073 GB, free: 9.809 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.6898, allocations: 2.079 MB / 0.9093 GB, free: 7.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.6919, allocations: 0.81 MB / 0.9101 GB, free: 6.859 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.6925, allocations: 342.4 kB / 0.9105 GB, free: 6.523 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/0.6943, allocations: 1.761 MB / 0.9122 GB, free: 4.371 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.6951, allocations: 430.8 kB / 0.9126 GB, free: 3.938 MB / 0.573 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.6951, allocations: 0 / 0.9126 GB, free: 3.938 MB / 0.573 GB Notification: Performance of matching and sorting (n=57): time 0.003023/0.6981, allocations: 0.9092 MB / 0.9135 GB, free: 3.02 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6983, allocations: 145.1 kB / 0.9136 GB, free: 2.844 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008453/0.6991, allocations: 415.2 kB / 0.914 GB, free: 2.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.6992, allocations: 41.69 kB / 0.9141 GB, free: 2.383 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.6995, allocations: 254.3 kB / 0.9143 GB, free: 2.133 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.6997, allocations: 189.2 kB / 0.9145 GB, free: 1.945 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.6998, allocations: 16 kB / 0.9145 GB, free: 1.93 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.7, allocations: 366.7 kB / 0.9148 GB, free: 1.562 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.7007, allocations: 281 kB / 0.9151 GB, free: 1.289 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.7013, allocations: 387.5 kB / 0.9155 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.7018, allocations: 279.2 kB / 0.9158 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7018, allocations: 7.875 kB / 0.9158 GB, free: 0.6016 MB / 0.573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.4393/1.141, allocations: 0.9733 MB / 0.9167 GB, free: 134.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.141, allocations: 6 kB / 0.9167 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.141, allocations: 3 kB / 0.9167 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008109/1.142, allocations: 159.3 kB / 0.9169 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.143, allocations: 185.4 kB / 0.917 GB, free: 134.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/1.147, allocations: 1.975 MB / 0.919 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.149, allocations: 150.7 kB / 0.9191 GB, free: 133.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.149, allocations: 31.75 kB / 0.9191 GB, free: 133.2 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): 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/1.149, allocations: 135.8 kB / 0.9193 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/1.149, allocations: 57.7 kB / 0.9193 GB, free: 133.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003776/1.153, allocations: 1.121 MB / 0.9204 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.153, allocations: 10.72 kB / 0.9204 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.153, allocations: 0 / 0.9204 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/1.153, allocations: 4.438 kB / 0.9204 GB, free: 133 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/1.158, allocations: 1.938 MB / 0.9223 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.158, allocations: 0.7812 kB / 0.9223 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/1.159, allocations: 178.1 kB / 0.9225 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006301/1.16, allocations: 144.2 kB / 0.9226 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/1.16, allocations: 23.38 kB / 0.9227 GB, free: 132.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/1.164, allocations: 2.015 MB / 0.9246 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.164, allocations: 4.312 kB / 0.9246 GB, free: 131.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00398/1.168, allocations: 1.075 MB / 0.9257 GB, free: 131.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006898/1.168, allocations: 241.1 kB / 0.9259 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/1.169, allocations: 14.31 kB / 0.9259 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.17, allocations: 103.9 kB / 0.926 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.17, allocations: 50.56 kB / 0.9261 GB, free: 131.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.17, allocations: 28.52 kB / 0.9261 GB, free: 131.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007973/1.171, allocations: 338.8 kB / 0.9264 GB, free: 131 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/1.171, allocations: 0 / 0.9264 GB, free: 131 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002085/1.173, allocations: 286.5 kB / 0.9267 GB, free: 131 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 (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.002108/1.175, allocations: 0.5218 MB / 0.9272 GB, free: 130.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002498/1.178, allocations: 0.8266 MB / 0.928 GB, free: 130.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.178, allocations: 3.312 kB / 0.928 GB, free: 130.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.179, allocations: 0.5112 MB / 0.9285 GB, free: 130.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/1.179, allocations: 56.02 kB / 0.9286 GB, free: 130.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/1.181, allocations: 0.8696 MB / 0.9294 GB, free: 130.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/1.182, allocations: 0.8853 MB / 0.9303 GB, free: 129.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000702/1.182, allocations: 146.9 kB / 0.9304 GB, free: 129.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/1.183, allocations: 65.39 kB / 0.9305 GB, free: 129.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.02e-07/1.183, allocations: 0 / 0.9305 GB, free: 129.6 MB / 0.573 GB Notification: Performance of Templates: time 0.01774/1.2, allocations: 11.97 MB / 0.9422 GB, free: 128.7 MB / 0.573 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)