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.001381/0.001381, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001036/0.001036, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 280 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 95.84 kB / 0.6821 GB, free: 7.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3582, allocations: 86.99 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004621/0.3629, allocations: 3.721 MB / 0.7707 GB, free: 244 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3676, allocations: 3.431 MB / 0.774 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.3678, allocations: 11.94 kB / 0.774 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.0004289/0.3683, allocations: 115 kB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009417/0.3692, allocations: 473.4 kB / 0.7746 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006849/0.3699, allocations: 362 kB / 0.7749 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006905/0.3706, allocations: 0.7565 MB / 0.7757 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.3709, allocations: 197.9 kB / 0.7759 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.3712, allocations: 314.8 kB / 0.7762 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.3717, allocations: 317.6 kB / 0.7765 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.3718, allocations: 72 kB / 0.7765 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007643/0.3725, allocations: 0.4995 MB / 0.777 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.3727, allocations: 171.5 kB / 0.7772 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.373, allocations: 330.2 kB / 0.7775 GB, free: 9.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.3741, allocations: 1.081 MB / 0.7785 GB, free: 8.133 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3741, allocations: 0 / 0.7785 GB, free: 8.133 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3741, allocations: 0 / 0.7785 GB, free: 8.133 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.3741, allocations: 0 / 0.7785 GB, free: 8.133 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.001764/0.3759, allocations: 0.9953 MB / 0.7795 GB, free: 7.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.376, allocations: 12.03 kB / 0.7795 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003644/0.3796, allocations: 0.6127 MB / 0.7801 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.3809, allocations: 0.6235 MB / 0.7807 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.3811, allocations: 122.7 kB / 0.7809 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.3812, allocations: 51.94 kB / 0.7809 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.3827, allocations: 0.6987 MB / 0.7816 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3827, allocations: 0 / 0.7816 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.3828, allocations: 16 kB / 0.7816 GB, free: 4.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.3828, allocations: 15.94 kB / 0.7816 GB, free: 4.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3849, allocations: 0.7611 MB / 0.7824 GB, free: 4.102 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.3881, allocations: 1.813 MB / 0.7841 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.391, allocations: 0.8411 MB / 0.785 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009717/0.392, allocations: 373.9 kB / 0.7853 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/0.3937, allocations: 1.757 MB / 0.787 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/0.3948, allocations: 446.7 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 1.993e-06/0.3948, allocations: 0 / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55): time 0.006754/0.4016, allocations: 1.613 MB / 0.789 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4017, allocations: 119.4 kB / 0.7891 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.4021, allocations: 421.9 kB / 0.7895 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.4022, allocations: 37.7 kB / 0.7896 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.4024, allocations: 268.6 kB / 0.7898 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4025, allocations: 185.3 kB / 0.79 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.4027, allocations: 126.2 kB / 0.7901 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4029, allocations: 358.8 kB / 0.7905 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008976/0.4038, allocations: 301.1 kB / 0.7908 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/0.4048, allocations: 457.4 kB / 0.7912 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.4066, allocations: 0.7106 MB / 0.7919 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4066, allocations: 0 / 0.7919 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003711/0.4103, allocations: 1.042 MB / 0.7929 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4104, allocations: 4 kB / 0.7929 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4104, allocations: 4 kB / 0.7929 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00073/0.4111, allocations: 144.6 kB / 0.7931 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.4119, allocations: 159.8 kB / 0.7932 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.4168, allocations: 2.111 MB / 0.7953 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.4176, allocations: 99.52 kB / 0.7954 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.4177, allocations: 31.97 kB / 0.7954 GB, free: 5.949 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.0002802/0.4179, allocations: 216 kB / 0.7956 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4181, allocations: 51.34 kB / 0.7956 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/0.4215, allocations: 1.052 MB / 0.7967 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4215, allocations: 7.922 kB / 0.7967 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4215, allocations: 3.938 kB / 0.7967 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.4218, allocations: 204.2 kB / 0.7969 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.4219, allocations: 16 kB / 0.7969 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.4226, allocations: 59.92 kB / 0.797 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4227, allocations: 52.44 kB / 0.797 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003037/0.4257, allocations: 0.9834 MB / 0.798 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003077/0.4288, allocations: 1.38 MB / 0.7993 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008807/0.4297, allocations: 376.2 kB / 0.7997 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003012/0.43, allocations: 295.1 kB / 0.8 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.43, allocations: 0 / 0.8 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003105/0.4332, allocations: 1.157 MB / 0.8011 GB, free: 248 kB / 0.5606 GB Notification: Performance of SimCode: time 0.001751/0.4349, allocations: 1.448 MB / 0.8025 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.01901/0.4539, allocations: 12.12 MB / 0.8143 GB, free: 2.68 MB / 0.5762 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)