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.8756/0.8756, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001723/0.001724, allocations: 176.8 kB / 182.2 MB, free: 9.461 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.679/1.679, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009765/0.0009765, allocations: 88.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 276 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.824e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.424, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.5792, allocations: 122.6 MB / 0.877 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.5795, allocations: 87.83 kB / 0.8771 GB, free: 5.199 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.05604/0.6355, allocations: 19.52 MB / 0.8962 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6356, allocations: 0 / 0.8962 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.6356, allocations: 15.98 kB / 0.8962 GB, free: 1.539 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001594/0.6372, allocations: 0.8555 MB / 0.897 GB, free: 0.6367 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.6373, allocations: 8.031 kB / 0.8971 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003014/0.6403, allocations: 0.5455 MB / 0.8976 GB, free: 84 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3615/1.002, allocations: 438.8 kB / 0.898 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001823/1.002, allocations: 104 kB / 0.8981 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/1.002, allocations: 26.03 kB / 0.8981 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001686/1.004, allocations: 0.6681 MB / 0.8988 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/1.005, allocations: 0.5933 MB / 0.8994 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.005, allocations: 0 / 0.8994 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/1.006, allocations: 5.594 kB / 0.8994 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/1.006, allocations: 11.77 kB / 0.8994 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004899/1.01, allocations: 1.973 MB / 0.9013 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/1.013, allocations: 0.7818 MB / 0.9021 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005864/1.013, allocations: 326.3 kB / 0.9024 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.015, allocations: 1.767 MB / 0.9041 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007616/1.016, allocations: 403.4 kB / 0.9045 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=57): time 2.815e-06/1.016, allocations: 0 / 0.9045 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=57): time 0.02162/1.037, allocations: 2.878 MB / 0.9073 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/1.037, allocations: 135.4 kB / 0.9074 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/1.038, allocations: 395.6 kB / 0.9078 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/1.038, allocations: 30.67 kB / 0.9078 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/1.038, allocations: 260 kB / 0.9081 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/1.039, allocations: 181 kB / 0.9083 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/1.039, allocations: 1.344 kB / 0.9083 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/1.039, allocations: 361.8 kB / 0.9086 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/1.039, allocations: 270.6 kB / 0.9089 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/1.04, allocations: 376.9 kB / 0.9092 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01812/1.058, allocations: 2.296 MB / 0.9115 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/1.058, allocations: 0 / 0.9115 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.02022/1.078, allocations: 2.965 MB / 0.9144 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.078, allocations: 10.25 kB / 0.9144 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/1.078, allocations: 4 kB / 0.9144 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/1.079, allocations: 155.5 kB / 0.9145 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/1.08, allocations: 184.5 kB / 0.9147 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.083, allocations: 1.911 MB / 0.9166 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.084, allocations: 143.8 kB / 0.9167 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/1.085, allocations: 30.72 kB / 0.9167 GB, free: 117.7 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 () * 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.0001937/1.085, allocations: 111.4 kB / 0.9168 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.085, allocations: 57.05 kB / 0.9169 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0181/1.103, allocations: 3.033 MB / 0.9199 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.103, allocations: 7.438 kB / 0.9199 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.103, allocations: 1.859 kB / 0.9199 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.103, allocations: 3.609 kB / 0.9199 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.122, allocations: 3.779 MB / 0.9236 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.123, allocations: 3.938 kB / 0.9236 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009198/1.123, allocations: 172.3 kB / 0.9237 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/1.124, allocations: 141.5 kB / 0.9239 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/1.124, allocations: 15.03 kB / 0.9239 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/1.127, allocations: 1.956 MB / 0.9258 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.127, allocations: 0 / 0.9258 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/1.145, allocations: 2.999 MB / 0.9287 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/1.146, allocations: 236.4 kB / 0.9289 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.146, allocations: 4 kB / 0.9289 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/1.147, allocations: 96.94 kB / 0.929 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.147, allocations: 46.27 kB / 0.9291 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/1.147, allocations: 36.94 kB / 0.9291 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003334/1.147, allocations: 300.6 kB / 0.9294 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.147, allocations: 4 kB / 0.9294 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009325/1.148, allocations: 263.1 kB / 0.9297 GB, free: 110.9 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) * 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.001161/1.149, allocations: 496.5 kB / 0.9301 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001299/1.151, allocations: 0.8018 MB / 0.9309 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.151, allocations: 0 / 0.9309 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006287/1.151, allocations: 491.4 kB / 0.9314 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/1.152, allocations: 41.69 kB / 0.9314 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/1.153, allocations: 0.8274 MB / 0.9322 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.154, allocations: 0.8868 MB / 0.9331 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007187/1.154, allocations: 143.6 kB / 0.9332 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/1.155, allocations: 65.5 kB / 0.9333 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/1.155, allocations: 0 / 0.9333 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.01563/1.17, allocations: 11.1 MB / 0.9441 GB, free: 96.92 MB / 0.5573 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)