Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.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.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.766/0.766, allocations: 140.1 MB / 156 MB, free: 5.191 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.00143/0.00143, allocations: 185.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.462/1.462, allocations: 205.4 MB / 426.3 MB, free: 8.488 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.0008532/0.0008533, allocations: 82.42 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001657/0.001657, allocations: 278.2 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004489/0.000449, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3218, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4571, allocations: 121.3 MB / 0.8579 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4573, allocations: 83.97 kB / 0.858 GB, free: 4.797 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.05573/0.5131, allocations: 19.68 MB / 0.8772 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5131, allocations: 7.938 kB / 0.8772 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.5132, allocations: 12 kB / 0.8772 GB, free: 0.957 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.001907/0.5151, allocations: 0.9085 MB / 0.8781 GB, free: 16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5151, allocations: 8.031 kB / 0.8781 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002948/0.5181, allocations: 0.5464 MB / 0.8787 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008032/0.5189, allocations: 469.7 kB / 0.8791 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.519, allocations: 118.7 kB / 0.8792 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5192, allocations: 44.38 kB / 0.8793 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.521, allocations: 0.7968 MB / 0.88 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.5211, allocations: 7.875 kB / 0.8801 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.5211, allocations: 20 kB / 0.8801 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5212, allocations: 8 kB / 0.8801 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.5237, allocations: 0.9758 MB / 0.881 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.5282, allocations: 2.018 MB / 0.883 GB, free: 10.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/0.5316, allocations: 1.118 MB / 0.8841 GB, free: 9.738 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.5327, allocations: 473.9 kB / 0.8846 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.5344, allocations: 1.761 MB / 0.8863 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.5357, allocations: 0.5455 MB / 0.8868 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=55): time 3.066e-06/0.5357, allocations: 0 / 0.8868 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55): time 0.003596/0.5393, allocations: 1.334 MB / 0.8881 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.5394, allocations: 141.1 kB / 0.8882 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000759/0.5402, allocations: 497.8 kB / 0.8887 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.5403, allocations: 37.7 kB / 0.8888 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.5405, allocations: 268.9 kB / 0.889 GB, free: 4.254 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.5407, allocations: 181.3 kB / 0.8892 GB, free: 4.074 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.5408, allocations: 12 kB / 0.8892 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5409, allocations: 362.8 kB / 0.8895 GB, free: 3.699 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.542, allocations: 420.8 kB / 0.8899 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5432, allocations: 0.5149 MB / 0.8904 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.5454, allocations: 0.8493 MB / 0.8913 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.5454, allocations: 7.938 kB / 0.8913 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0025/0.5479, allocations: 1.014 MB / 0.8923 GB, free: 0.8398 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5479, allocations: 4 kB / 0.8923 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5479, allocations: 0 / 0.8923 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.548, allocations: 8 kB / 0.8923 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.5489, allocations: 199.8 kB / 0.8925 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.549, allocations: 4 kB / 0.8925 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008848/0.5499, allocations: 147.4 kB / 0.8926 GB, free: 496 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.5499, allocations: 31.97 kB / 0.8926 GB, free: 464 kB / 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): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003236/0.5503, allocations: 205.6 kB / 0.8928 GB, free: 248 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5504, allocations: 63.28 kB / 0.8929 GB, free: 184 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2771/0.8275, allocations: 1.107 MB / 0.894 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.8276, allocations: 7.891 kB / 0.894 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.8276, allocations: 1 kB / 0.894 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.8276, allocations: 5.906 kB / 0.894 GB, free: 136.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.8313, allocations: 1.896 MB / 0.8958 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8313, allocations: 0.6875 kB / 0.8959 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009019/0.8322, allocations: 185.7 kB / 0.896 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.8323, allocations: 4 kB / 0.896 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.8323, allocations: 19.03 kB / 0.896 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.8323, allocations: 3.062 kB / 0.8961 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8323, allocations: 0 / 0.8961 GB, free: 136.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.8347, allocations: 1.079 MB / 0.8971 GB, free: 136.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.835, allocations: 246 kB / 0.8973 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/0.8351, allocations: 12.94 kB / 0.8974 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.8358, allocations: 99.94 kB / 0.8974 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.836, allocations: 42.61 kB / 0.8975 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.836, allocations: 25.44 kB / 0.8975 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004674/0.8365, allocations: 349.8 kB / 0.8978 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/0.8365, allocations: 0 / 0.8978 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008821/0.8374, allocations: 280 kB / 0.8981 GB, free: 136.2 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): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.8385, allocations: 0.5544 MB / 0.8987 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.8412, allocations: 0.9471 MB / 0.8996 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8412, allocations: 1.141 kB / 0.8996 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.8425, allocations: 0.4956 MB / 0.9001 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.843, allocations: 61.31 kB / 0.9001 GB, free: 136 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.8456, allocations: 1.619 MB / 0.9017 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.8459, allocations: 0.8801 MB / 0.9026 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.8466, allocations: 147.2 kB / 0.9027 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.8469, allocations: 76.78 kB / 0.9028 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.8469, allocations: 1.031 kB / 0.9028 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.01284/0.8598, allocations: 9.3 MB / 0.9119 GB, free: 134.1 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1)