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.8553/0.8553, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.001887/0.001888, allocations: 179.9 kB / 191.5 MB, free: 5.773 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.6/1.6, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0009949/0.000995, allocations: 104.2 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 259.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 11.16 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1903, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5502/0.7405, allocations: 123.3 MB / 0.8941 GB, free: 21.78 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.7409, allocations: 88.92 kB / 0.8942 GB, free: 21.78 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.06062/0.8015, allocations: 20.04 MB / 0.9138 GB, free: 19.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8016, allocations: 0 / 0.9138 GB, free: 19.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.452e-05/0.8016, allocations: 11.75 kB / 0.9138 GB, free: 19.97 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002566/0.8042, allocations: 0.9232 MB / 0.9147 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.8043, allocations: 12.55 kB / 0.9147 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.8088, allocations: 0.5439 MB / 0.9152 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.8102, allocations: 448.2 kB / 0.9156 GB, free: 19.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.8104, allocations: 113.7 kB / 0.9157 GB, free: 18.92 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8105, allocations: 48.81 kB / 0.9158 GB, free: 18.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.8129, allocations: 0.7914 MB / 0.9166 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.813, allocations: 3.969 kB / 0.9166 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8131, allocations: 26.83 kB / 0.9166 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.8131, allocations: 11.62 kB / 0.9166 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.8166, allocations: 0.9823 MB / 0.9176 GB, free: 18.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/0.8223, allocations: 2.06 MB / 0.9196 GB, free: 18.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005444/0.8278, allocations: 1.133 MB / 0.9207 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/0.8299, allocations: 1.762 MB / 0.9224 GB, free: 16.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.8322, allocations: 0.55 MB / 0.9229 GB, free: 16.28 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=57): time 4.548e-06/0.8323, allocations: 0 / 0.9229 GB, free: 16.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57): time 0.01286/0.8451, allocations: 2.077 MB / 0.925 GB, free: 16.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.8452, allocations: 136.8 kB / 0.9251 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.8462, allocations: 425.4 kB / 0.9255 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.8463, allocations: 36.64 kB / 0.9255 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.8466, allocations: 251.4 kB / 0.9258 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.8468, allocations: 195.1 kB / 0.926 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.8469, allocations: 14.81 kB / 0.926 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.847, allocations: 362.9 kB / 0.9263 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/0.8488, allocations: 425 kB / 0.9267 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.8506, allocations: 0.5228 MB / 0.9272 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.8524, allocations: 427.6 kB / 0.9277 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.8524, allocations: 0 / 0.9277 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00679/0.8592, allocations: 1.285 MB / 0.9289 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.8593, allocations: 7.75 kB / 0.9289 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.8593, allocations: 4.125 kB / 0.9289 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.8608, allocations: 208.1 kB / 0.9291 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.8625, allocations: 183.6 kB / 0.9293 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008744/0.8712, allocations: 2.284 MB / 0.9315 GB, free: 29.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.8732, allocations: 151.1 kB / 0.9317 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.8734, allocations: 29.59 kB / 0.9317 GB, free: 29.55 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): 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.0005873/0.874, allocations: 215.6 kB / 0.9319 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.8742, allocations: 57.67 kB / 0.932 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.8792, allocations: 1.304 MB / 0.9332 GB, free: 29.28 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.8793, allocations: 11.72 kB / 0.9332 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8793, allocations: 3.938 kB / 0.9332 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8793, allocations: 2.625 kB / 0.9332 GB, free: 29.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.8803, allocations: 0.7971 MB / 0.934 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8803, allocations: 0 / 0.934 GB, free: 29.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/0.8812, allocations: 170.8 kB / 0.9342 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/0.8819, allocations: 170.1 kB / 0.9343 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.882, allocations: 18.53 kB / 0.9344 GB, free: 29.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.8855, allocations: 2.048 MB / 0.9364 GB, free: 27.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.8855, allocations: 3.953 kB / 0.9364 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.8892, allocations: 1.19 MB / 0.9375 GB, free: 27.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/0.8897, allocations: 240.4 kB / 0.9378 GB, free: 27.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.656e-05/0.8898, allocations: 11.41 kB / 0.9378 GB, free: 27.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.8906, allocations: 105.5 kB / 0.9379 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.8907, allocations: 47.7 kB / 0.9379 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.8908, allocations: 34.78 kB / 0.938 GB, free: 27.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004371/0.8912, allocations: 342.5 kB / 0.9383 GB, free: 26.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8912, allocations: 0 / 0.9383 GB, free: 26.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009621/0.8922, allocations: 286 kB / 0.9386 GB, free: 26.87 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001216/0.8934, allocations: 0.5591 MB / 0.9391 GB, free: 26.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.8959, allocations: 1.095 MB / 0.9402 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.896, allocations: 7.875 kB / 0.9402 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.8971, allocations: 0.6389 MB / 0.9408 GB, free: 26.06 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.8976, allocations: 55.12 kB / 0.9409 GB, free: 26.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.8999, allocations: 1.645 MB / 0.9425 GB, free: 25.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.9003, allocations: 0.8926 MB / 0.9433 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006956/0.901, allocations: 138 kB / 0.9435 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.9013, allocations: 69.53 kB / 0.9435 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.193e-06/0.9013, allocations: 0 / 0.9435 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.01575/0.9171, allocations: 11.16 MB / 0.9544 GB, free: 18.61 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)