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.005125/0.005125, allocations: 102 kB / 15.73 MB, free: 6.062 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.001258/0.001258, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 288.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 88.23 kB / 0.6814 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4029, allocations: 86.98 MB / 0.7664 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004857/0.4078, allocations: 3.725 MB / 0.77 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004564/0.4124, allocations: 3.431 MB / 0.7733 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.4127, allocations: 7.938 kB / 0.7733 GB, free: 12.78 MB / 0.545 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.0004476/0.4131, allocations: 123 kB / 0.7735 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009495/0.4141, allocations: 463 kB / 0.7739 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.4148, allocations: 358 kB / 0.7742 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.4155, allocations: 0.7565 MB / 0.775 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.4158, allocations: 205.9 kB / 0.7752 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.4161, allocations: 314.8 kB / 0.7755 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004265/0.4166, allocations: 318.6 kB / 0.7758 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.954e-05/0.4167, allocations: 64 kB / 0.7758 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007552/0.4174, allocations: 0.4956 MB / 0.7763 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.4176, allocations: 171.5 kB / 0.7765 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.4179, allocations: 330.2 kB / 0.7768 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.419, allocations: 1.085 MB / 0.7779 GB, free: 8.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.419, allocations: 0 / 0.7779 GB, free: 8.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.419, allocations: 0 / 0.7779 GB, free: 8.141 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.419, allocations: 0 / 0.7779 GB, free: 8.141 MB / 0.545 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.001824/0.4208, allocations: 0.998 MB / 0.7788 GB, free: 7.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4209, allocations: 8.031 kB / 0.7789 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.4244, allocations: 0.6205 MB / 0.7795 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.4257, allocations: 0.6196 MB / 0.7801 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.4258, allocations: 122.7 kB / 0.7802 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.596e-05/0.4259, allocations: 47.94 kB / 0.7802 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.4275, allocations: 0.6947 MB / 0.7809 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.4275, allocations: 4 kB / 0.7809 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.4276, allocations: 20 kB / 0.7809 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4276, allocations: 8 kB / 0.7809 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.4296, allocations: 0.765 MB / 0.7817 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003163/0.4328, allocations: 1.817 MB / 0.7835 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.4356, allocations: 0.8411 MB / 0.7843 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009508/0.4366, allocations: 365.9 kB / 0.7846 GB, free: 1.031 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/0.4384, allocations: 1.765 MB / 0.7864 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.4395, allocations: 446.7 kB / 0.7868 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 2.565e-06/0.4395, allocations: 0 / 0.7868 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.006751/0.4462, allocations: 1.613 MB / 0.7884 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.4464, allocations: 115.3 kB / 0.7885 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006109/0.447, allocations: 417.9 kB / 0.7889 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.4471, allocations: 41.7 kB / 0.7889 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.4473, allocations: 268.6 kB / 0.7892 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.4475, allocations: 185.3 kB / 0.7893 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.4477, allocations: 126.2 kB / 0.7895 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4479, allocations: 358.8 kB / 0.7898 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008792/0.4488, allocations: 309.1 kB / 0.7901 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.4498, allocations: 449.4 kB / 0.7905 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.4516, allocations: 0.7184 MB / 0.7912 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4517, allocations: 0 / 0.7912 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003714/0.4554, allocations: 1.034 MB / 0.7922 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.4554, allocations: 8.344 kB / 0.7922 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4554, allocations: 11.94 kB / 0.7923 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007384/0.4562, allocations: 136.7 kB / 0.7924 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/0.457, allocations: 163.7 kB / 0.7925 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004919/0.4619, allocations: 2.111 MB / 0.7946 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.4628, allocations: 95.53 kB / 0.7947 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.4628, allocations: 31.97 kB / 0.7947 GB, free: 5.957 MB / 0.5606 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.000354/0.4632, allocations: 209.6 kB / 0.7949 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.4633, allocations: 59.33 kB / 0.795 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.4667, allocations: 1.044 MB / 0.796 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4667, allocations: 12 kB / 0.796 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4667, allocations: 0 / 0.796 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.4667, allocations: 7.922 kB / 0.796 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003917/0.4707, allocations: 1.744 MB / 0.7977 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4707, allocations: 0 / 0.7977 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007517/0.4714, allocations: 143.8 kB / 0.7979 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006031/0.472, allocations: 120.7 kB / 0.798 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.4721, allocations: 15.98 kB / 0.798 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.4755, allocations: 1.919 MB / 0.7999 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4755, allocations: 0 / 0.7999 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003051/0.4786, allocations: 1.009 MB / 0.8008 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002563/0.4788, allocations: 208.1 kB / 0.801 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.463e-05/0.4789, allocations: 19.98 kB / 0.8011 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006277/0.4796, allocations: 55.94 kB / 0.8011 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4797, allocations: 48.44 kB / 0.8012 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.4798, allocations: 23.98 kB / 0.8012 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003324/0.4801, allocations: 295.1 kB / 0.8015 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4801, allocations: 4 kB / 0.8015 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007461/0.4809, allocations: 235.6 kB / 0.8017 GB, free: 14.54 MB / 0.5762 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.001112/0.482, allocations: 0.495 MB / 0.8022 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.4842, allocations: 0.8657 MB / 0.803 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4842, allocations: 0 / 0.803 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.4853, allocations: 0.5213 MB / 0.8035 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.4858, allocations: 74.02 kB / 0.8036 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.488, allocations: 1.235 MB / 0.8048 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.4885, allocations: 0.8773 MB / 0.8057 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000566/0.489, allocations: 152.4 kB / 0.8058 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.4893, allocations: 67.39 kB / 0.8059 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.4893, allocations: 0 / 0.8059 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.01678/0.5061, allocations: 10.5 MB / 0.8161 GB, free: 15.87 MB / 0.5919 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)