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.001768/0.001768, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001987/0.001987, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 286.6 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5069 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 97.53 kB / 0.6059 GB, free: 24.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1654, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005489/0.1709, allocations: 3.745 MB / 0.6966 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.1762, allocations: 3.402 MB / 0.6999 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.1766, allocations: 11.94 kB / 0.7 GB, free: 13.55 MB / 0.4981 GB [/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.0005459/0.1771, allocations: 97.02 kB / 0.7001 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.1783, allocations: 406.2 kB / 0.7004 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007928/0.1791, allocations: 318.5 kB / 0.7007 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008299/0.1799, allocations: 0.7526 MB / 0.7015 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.1802, allocations: 189.9 kB / 0.7017 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.1807, allocations: 306.8 kB / 0.702 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.1811, allocations: 326.6 kB / 0.7023 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-05/0.1812, allocations: 64 kB / 0.7023 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/0.1821, allocations: 0.4994 MB / 0.7028 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1823, allocations: 167.4 kB / 0.703 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.1827, allocations: 326.4 kB / 0.7033 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.184, allocations: 1.075 MB / 0.7043 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.184, allocations: 0 / 0.7043 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.184, allocations: 0 / 0.7043 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.184, allocations: 0 / 0.7043 GB, free: 9.062 MB / 0.4981 GB 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.002603/0.1866, allocations: 0.9952 MB / 0.7053 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1867, allocations: 8.031 kB / 0.7053 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003863/0.1905, allocations: 0.6244 MB / 0.7059 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.192, allocations: 0.6235 MB / 0.7065 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.1922, allocations: 118.7 kB / 0.7066 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1923, allocations: 51.94 kB / 0.7067 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.1941, allocations: 0.7064 MB / 0.7074 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1941, allocations: 0 / 0.7074 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.1942, allocations: 16 kB / 0.7074 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1942, allocations: 16 kB / 0.7074 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.1964, allocations: 0.7572 MB / 0.7082 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/0.2, allocations: 1.802 MB / 0.7099 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.2031, allocations: 0.8553 MB / 0.7107 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.2042, allocations: 361.9 kB / 0.7111 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/0.2063, allocations: 1.765 MB / 0.7128 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.2075, allocations: 440.3 kB / 0.7132 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 4.338e-06/0.2075, allocations: 0 / 0.7132 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.007463/0.215, allocations: 1.624 MB / 0.7148 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.2151, allocations: 111.3 kB / 0.7149 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.2157, allocations: 413.9 kB / 0.7153 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.2158, allocations: 37.7 kB / 0.7154 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.2161, allocations: 276.8 kB / 0.7156 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.2163, allocations: 185.3 kB / 0.7158 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.2165, allocations: 122.2 kB / 0.7159 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.2167, allocations: 362.8 kB / 0.7163 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009645/0.2177, allocations: 309.1 kB / 0.7166 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.2188, allocations: 445.4 kB / 0.717 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.2209, allocations: 0.7145 MB / 0.7177 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2209, allocations: 4 kB / 0.7177 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004166/0.2251, allocations: 1.034 MB / 0.7187 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2251, allocations: 8.344 kB / 0.7187 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.2251, allocations: 15.92 kB / 0.7187 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/0.2259, allocations: 136.7 kB / 0.7188 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.2268, allocations: 163.7 kB / 0.719 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.2325, allocations: 2.114 MB / 0.7211 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008962/0.2334, allocations: 99.47 kB / 0.7212 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.2335, allocations: 31.97 kB / 0.7212 GB, free: 6.859 MB / 0.5137 GB 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.0004125/0.234, allocations: 205.6 kB / 0.7214 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.2341, allocations: 55.34 kB / 0.7214 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.2379, allocations: 1.052 MB / 0.7225 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.238, allocations: 8 kB / 0.7225 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.238, allocations: 0 / 0.7225 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.238, allocations: 3.984 kB / 0.7225 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.2425, allocations: 1.748 MB / 0.7242 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2425, allocations: 0 / 0.7242 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.2433, allocations: 147.8 kB / 0.7243 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006622/0.244, allocations: 124.7 kB / 0.7244 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.2441, allocations: 15.98 kB / 0.7245 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003796/0.2479, allocations: 1.915 MB / 0.7263 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2479, allocations: 144 / 0.7263 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/0.2512, allocations: 1.007 MB / 0.7273 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003276/0.2515, allocations: 208.1 kB / 0.7275 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.2516, allocations: 15.98 kB / 0.7275 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007089/0.2524, allocations: 67.81 kB / 0.7276 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.2525, allocations: 44.58 kB / 0.7276 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.2526, allocations: 23.98 kB / 0.7277 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004018/0.253, allocations: 295.1 kB / 0.7279 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.253, allocations: 0 / 0.7279 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008379/0.2538, allocations: 235.7 kB / 0.7282 GB, free: 15.44 MB / 0.5294 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.001747/0.2556, allocations: 0.4995 MB / 0.7287 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002721/0.2583, allocations: 0.9124 MB / 0.7295 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2584, allocations: 0 / 0.7295 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.2595, allocations: 0.5174 MB / 0.7301 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.2601, allocations: 66.59 kB / 0.7301 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.2629, allocations: 1.497 MB / 0.7316 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.2634, allocations: 0.8772 MB / 0.7324 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007649/0.2642, allocations: 148.4 kB / 0.7326 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.2645, allocations: 71.39 kB / 0.7326 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.2645, allocations: 0 / 0.7326 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.02016/0.2847, allocations: 10.38 MB / 0.7428 GB, free: 0.6055 MB / 0.5294 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)