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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 101.7 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 199 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002162, allocations: 291.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8985/0.8985, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 91.39 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1443, allocations: 86.98 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004666/0.149, allocations: 3.73 MB / 0.6852 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004295/0.1533, allocations: 3.434 MB / 0.6886 GB, free: 288 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.1536, allocations: 11.94 kB / 0.6886 GB, free: 276 kB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.154, allocations: 122.9 kB / 0.6887 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2356/0.3896, allocations: 453.9 kB / 0.6891 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008176/0.3905, allocations: 360.6 kB / 0.6895 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000731/0.3912, allocations: 0.7569 MB / 0.6902 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.3915, allocations: 197.2 kB / 0.6904 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.3918, allocations: 305.5 kB / 0.6907 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.3923, allocations: 321.2 kB / 0.691 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3924, allocations: 65.22 kB / 0.6911 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.3931, allocations: 0.492 MB / 0.6916 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.3933, allocations: 167.9 kB / 0.6917 GB, free: 12.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3936, allocations: 326.2 kB / 0.692 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3947, allocations: 1.091 MB / 0.6931 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3947, allocations: 1.984 kB / 0.6931 GB, free: 12.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3948, allocations: 0 / 0.6931 GB, free: 12.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3948, allocations: 3.75 kB / 0.6931 GB, free: 12.29 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001664/0.3964, allocations: 0.9858 MB / 0.6941 GB, free: 11.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.3965, allocations: 10.75 kB / 0.6941 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.3999, allocations: 0.6209 MB / 0.6947 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4012, allocations: 0.6274 MB / 0.6953 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.4013, allocations: 121.7 kB / 0.6954 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.206e-05/0.4014, allocations: 44.86 kB / 0.6954 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.403, allocations: 0.7028 MB / 0.6961 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.403, allocations: 3.938 kB / 0.6961 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.4031, allocations: 19.69 kB / 0.6962 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.4031, allocations: 11.47 kB / 0.6962 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.405, allocations: 0.763 MB / 0.6969 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.4081, allocations: 1.791 MB / 0.6987 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.4109, allocations: 0.8495 MB / 0.6995 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.4118, allocations: 367.7 kB / 0.6998 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.4131, allocations: 1.765 MB / 0.7016 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.4142, allocations: 446.4 kB / 0.702 GB, free: 7.457 MB / 494.1 MB Notification: Performance of pre-optimization done (n=55): time 2.755e-06/0.4142, allocations: 2.172 kB / 0.702 GB, free: 7.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=55): time 0.006555/0.4207, allocations: 1.612 MB / 0.7036 GB, free: 6.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4208, allocations: 113.4 kB / 0.7037 GB, free: 6.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.4212, allocations: 420.5 kB / 0.7041 GB, free: 6.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.384e-05/0.4213, allocations: 40.75 kB / 0.7041 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.4215, allocations: 270.1 kB / 0.7044 GB, free: 6.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.4216, allocations: 183.5 kB / 0.7045 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.4218, allocations: 125.9 kB / 0.7047 GB, free: 6.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.4219, allocations: 358.5 kB / 0.705 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008513/0.4227, allocations: 308.6 kB / 0.7053 GB, free: 5.754 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.4237, allocations: 449.3 kB / 0.7057 GB, free: 5.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4254, allocations: 0.7056 MB / 0.7064 GB, free: 5.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4254, allocations: 5.219 kB / 0.7064 GB, free: 5.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00365/0.4291, allocations: 1.043 MB / 0.7074 GB, free: 4.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4291, allocations: 6.719 kB / 0.7074 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4291, allocations: 4.469 kB / 0.7075 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007337/0.4298, allocations: 143.1 kB / 0.7076 GB, free: 4.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.4307, allocations: 163.2 kB / 0.7077 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.4352, allocations: 2.111 MB / 0.7098 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/0.436, allocations: 102.2 kB / 0.7099 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.4361, allocations: 35.52 kB / 0.7099 GB, free: 3.184 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.4364, allocations: 205.4 kB / 0.7101 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.4365, allocations: 52.64 kB / 0.7102 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.4397, allocations: 1.054 MB / 0.7112 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.4397, allocations: 10.47 kB / 0.7112 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4397, allocations: 0 / 0.7112 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4397, allocations: 3.422 kB / 0.7112 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00372/0.4434, allocations: 1.755 MB / 0.7129 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4435, allocations: 0 / 0.7129 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007338/0.4442, allocations: 141.1 kB / 0.7131 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/0.4448, allocations: 115.2 kB / 0.7132 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.4449, allocations: 18.48 kB / 0.7132 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.4477, allocations: 1.906 MB / 0.7151 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4478, allocations: 3.016 kB / 0.7151 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.4508, allocations: 1.033 MB / 0.7161 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.4511, allocations: 207.6 kB / 0.7163 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.4512, allocations: 17.42 kB / 0.7163 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006085/0.4518, allocations: 54.09 kB / 0.7163 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.452, allocations: 48.44 kB / 0.7164 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.452, allocations: 23.83 kB / 0.7164 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003244/0.4524, allocations: 286.5 kB / 0.7167 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4524, allocations: 4 kB / 0.7167 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008048/0.4532, allocations: 238.4 kB / 0.7169 GB, free: 15.38 MB / 0.4981 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.4543, allocations: 0.5075 MB / 0.7174 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.4564, allocations: 0.8657 MB / 0.7183 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4564, allocations: 0 / 0.7183 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.4574, allocations: 0.5174 MB / 0.7188 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.4579, allocations: 75.75 kB / 0.7188 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4601, allocations: 1.239 MB / 0.72 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.4605, allocations: 0.8779 MB / 0.7209 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005398/0.461, allocations: 147.9 kB / 0.721 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.4613, allocations: 71.39 kB / 0.7211 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4613, allocations: 4 kB / 0.7211 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01663/0.4779, allocations: 10.39 MB / 0.7313 GB, free: 7.836 MB / 0.4981 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1)