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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7831/0.7831, allocations: 140 MB / 156 MB, free: 5.184 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 175.9 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007414/0.0007413, allocations: 74.44 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001711/0.001711, allocations: 265 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2928, allocations: 79.3 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4262, allocations: 121.4 MB / 0.858 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4265, allocations: 79.95 kB / 0.8581 GB, free: 4.707 MB / 0.5261 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.05645/0.483, allocations: 19.71 MB / 0.8773 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.723e-06/0.483, allocations: 0 / 0.8773 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.68e-05/0.4831, allocations: 12 kB / 0.8774 GB, free: 0.8398 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.00203/0.4851, allocations: 0.9217 MB / 0.8783 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4852, allocations: 12.03 kB / 0.8783 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.4881, allocations: 0.5426 MB / 0.8788 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008225/0.4889, allocations: 469.7 kB / 0.8792 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4891, allocations: 118.7 kB / 0.8794 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4892, allocations: 44.38 kB / 0.8794 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.4912, allocations: 0.7929 MB / 0.8802 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4912, allocations: 3.938 kB / 0.8802 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.4913, allocations: 24 kB / 0.8802 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.4913, allocations: 12 kB / 0.8802 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.4938, allocations: 0.9836 MB / 0.8812 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.4982, allocations: 2.05 MB / 0.8832 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003357/0.5016, allocations: 1.123 MB / 0.8843 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.5028, allocations: 490.2 kB / 0.8847 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001899/0.5047, allocations: 1.757 MB / 0.8865 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/0.5061, allocations: 0.5651 MB / 0.887 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=57): time 3.146e-06/0.5061, allocations: 0 / 0.887 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of matching and sorting (n=57): time 0.007689/0.5138, allocations: 2.058 MB / 0.889 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5139, allocations: 145.1 kB / 0.8892 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.5147, allocations: 479.3 kB / 0.8896 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.5148, allocations: 37.7 kB / 0.8896 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.515, allocations: 260.9 kB / 0.8899 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.5152, allocations: 189.2 kB / 0.8901 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.5152, allocations: 8 kB / 0.8901 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5154, allocations: 366.7 kB / 0.8904 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.5165, allocations: 424.8 kB / 0.8908 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.5177, allocations: 0.5228 MB / 0.8913 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.5199, allocations: 0.8727 MB / 0.8922 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5199, allocations: 0 / 0.8922 GB, free: 0.8906 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.2484/0.7683, allocations: 1.28 MB / 0.8935 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7684, allocations: 5.906 kB / 0.8935 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7684, allocations: 2.766 kB / 0.8935 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009364/0.7693, allocations: 209.6 kB / 0.8937 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009988/0.7703, allocations: 183.9 kB / 0.8938 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.775, allocations: 2.217 MB / 0.896 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/0.776, allocations: 157.7 kB / 0.8962 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.7761, allocations: 27.89 kB / 0.8962 GB, free: 135.1 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.0003161/0.7764, allocations: 202.6 kB / 0.8964 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.7765, allocations: 54.28 kB / 0.8964 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.7803, allocations: 1.307 MB / 0.8977 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.7803, allocations: 6.594 kB / 0.8977 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7803, allocations: 1.453 kB / 0.8977 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7803, allocations: 5.781 kB / 0.8977 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.7846, allocations: 2.096 MB / 0.8998 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.7846, allocations: 4.531 kB / 0.8998 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.7855, allocations: 179 kB / 0.8999 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/0.7863, allocations: 167.2 kB / 0.9001 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.7863, allocations: 26.39 kB / 0.9001 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/0.7899, allocations: 2.077 MB / 0.9021 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7899, allocations: 0.5312 kB / 0.9021 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003177/0.7931, allocations: 1.255 MB / 0.9034 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.7933, allocations: 243.3 kB / 0.9036 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.7934, allocations: 15.98 kB / 0.9036 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.7941, allocations: 101 kB / 0.9037 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.7942, allocations: 50.72 kB / 0.9038 GB, free: 133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.7943, allocations: 27.56 kB / 0.9038 GB, free: 133 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003266/0.7946, allocations: 338.1 kB / 0.9041 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7946, allocations: 3.406 kB / 0.9041 GB, free: 132.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008338/0.7955, allocations: 291 kB / 0.9044 GB, free: 132.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) * 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.001032/0.7965, allocations: 0.5499 MB / 0.9049 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.7987, allocations: 1.1 MB / 0.906 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7987, allocations: 0 / 0.906 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.8002, allocations: 0.704 MB / 0.9067 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.8006, allocations: 64.91 kB / 0.9068 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.8027, allocations: 1.655 MB / 0.9084 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.803, allocations: 0.8753 MB / 0.9092 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006571/0.8036, allocations: 144.7 kB / 0.9094 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.8039, allocations: 72.48 kB / 0.9094 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of SimCode: time 3.1e-07/0.8039, allocations: 0 / 0.9094 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.01378/0.8177, allocations: 11.14 MB / 0.9203 GB, free: 129.3 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)