Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 113.2 kB / 16.42 MB, free: 6.473 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.0009676/0.0009676, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.27/1.27, allocations: 222.9 MB / 241 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.002131/0.002131, allocations: 290.8 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.9116/0.9116, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 87.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3776, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004828/0.3825, allocations: 3.69 MB / 0.7706 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.3873, allocations: 3.476 MB / 0.774 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.3876, allocations: 7.938 kB / 0.774 GB, free: 12.75 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.0004588/0.3881, allocations: 122.2 kB / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.3892, allocations: 449.5 kB / 0.7746 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.3901, allocations: 389.2 kB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.3909, allocations: 0.8073 MB / 0.7757 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3912, allocations: 201.9 kB / 0.7759 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.3917, allocations: 342.8 kB / 0.7762 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005145/0.3922, allocations: 342.7 kB / 0.7766 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.3923, allocations: 72 kB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008602/0.3932, allocations: 0.4995 MB / 0.7771 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3934, allocations: 175.4 kB / 0.7773 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003061/0.3937, allocations: 330.3 kB / 0.7776 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.395, allocations: 1.124 MB / 0.7787 GB, free: 7.945 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.395, allocations: 0 / 0.7787 GB, free: 7.945 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.395, allocations: 0 / 0.7787 GB, free: 7.945 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.634e-05/0.395, allocations: 0 / 0.7787 GB, free: 7.945 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002168/0.3972, allocations: 1.023 MB / 0.7797 GB, free: 6.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3972, allocations: 12.03 kB / 0.7797 GB, free: 6.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.4004, allocations: 0.562 MB / 0.7803 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.4018, allocations: 0.6196 MB / 0.7809 GB, free: 5.641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.4019, allocations: 122.2 kB / 0.781 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.402, allocations: 52 kB / 0.781 GB, free: 5.453 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.4034, allocations: 0.6869 MB / 0.7817 GB, free: 4.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4035, allocations: 3.984 kB / 0.7817 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.4035, allocations: 16 kB / 0.7817 GB, free: 4.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4036, allocations: 12 kB / 0.7817 GB, free: 4.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.4053, allocations: 0.7065 MB / 0.7824 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/0.4085, allocations: 1.855 MB / 0.7842 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.4112, allocations: 0.8415 MB / 0.7851 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008354/0.412, allocations: 350.3 kB / 0.7854 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/0.4138, allocations: 1.769 MB / 0.7871 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009348/0.4147, allocations: 426.9 kB / 0.7875 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 4.428e-06/0.4147, allocations: 0 / 0.7875 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56): time 0.006839/0.4216, allocations: 1.511 MB / 0.789 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.4217, allocations: 107.4 kB / 0.7891 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004104/0.4221, allocations: 410 kB / 0.7895 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.4221, allocations: 29.7 kB / 0.7895 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4223, allocations: 276.6 kB / 0.7898 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.4225, allocations: 185.3 kB / 0.79 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4227, allocations: 126.2 kB / 0.7901 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4228, allocations: 362.8 kB / 0.7904 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.4236, allocations: 285.1 kB / 0.7907 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.4244, allocations: 437.4 kB / 0.7911 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.4261, allocations: 0.695 MB / 0.7918 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4261, allocations: 0 / 0.7918 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004374/0.4304, allocations: 1.077 MB / 0.7929 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4305, allocations: 8 kB / 0.7929 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4305, allocations: 0 / 0.7929 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003328/0.4338, allocations: 380.5 kB / 0.7932 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.4346, allocations: 163.7 kB / 0.7934 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.4386, allocations: 2.168 MB / 0.7955 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.4393, allocations: 90.17 kB / 0.7956 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.4393, allocations: 32.03 kB / 0.7956 GB, free: 5.688 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.4396, allocations: 216.2 kB / 0.7958 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4397, allocations: 51.34 kB / 0.7959 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.4429, allocations: 1.062 MB / 0.7969 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.4429, allocations: 7.984 kB / 0.7969 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4429, allocations: 3.938 kB / 0.7969 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.4431, allocations: 212.2 kB / 0.7971 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.773e-05/0.4432, allocations: 12 kB / 0.7971 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.4438, allocations: 55.88 kB / 0.7972 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4439, allocations: 52.58 kB / 0.7972 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002431/0.4464, allocations: 0.939 MB / 0.7982 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002694/0.4491, allocations: 1.379 MB / 0.7995 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007768/0.4499, allocations: 377 kB / 0.7999 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002705/0.4501, allocations: 279.1 kB / 0.8001 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of Backend: time 3.7e-07/0.4502, allocations: 0 / 0.8001 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002978/0.4531, allocations: 1.173 MB / 0.8013 GB, free: 20 kB / 0.5606 GB Notification: Performance of SimCode: time 0.001538/0.4547, allocations: 1.448 MB / 0.8027 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.01676/0.4715, allocations: 11.89 MB / 0.8143 GB, free: 2.688 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1)