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.00106/0.00106, allocations: 114 kB / 16.42 MB, free: 6.402 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.001093/0.001093, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 284.9 kB / 291.5 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.9357/0.9357, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 96.23 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3647, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004887/0.3696, allocations: 3.702 MB / 0.7706 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004889/0.3745, allocations: 3.462 MB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.3749, allocations: 11.94 kB / 0.774 GB, free: 12.69 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.0004834/0.3754, allocations: 115 kB / 0.7741 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.3766, allocations: 465.5 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.3775, allocations: 392.3 kB / 0.775 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008828/0.3784, allocations: 0.8073 MB / 0.7757 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.3787, allocations: 201.9 kB / 0.7759 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.3791, allocations: 346.8 kB / 0.7763 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005488/0.3797, allocations: 342.6 kB / 0.7766 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3799, allocations: 68 kB / 0.7767 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000872/0.3807, allocations: 0.4956 MB / 0.7771 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.3809, allocations: 183.5 kB / 0.7773 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.3813, allocations: 330.3 kB / 0.7776 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.3826, allocations: 1.116 MB / 0.7787 GB, free: 7.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3826, allocations: 0 / 0.7787 GB, free: 7.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3826, allocations: 0 / 0.7787 GB, free: 7.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.3826, allocations: 0 / 0.7787 GB, free: 7.875 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.002328/0.385, allocations: 1.034 MB / 0.7797 GB, free: 6.789 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.385, allocations: 8.031 kB / 0.7797 GB, free: 6.781 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.3883, allocations: 0.5581 MB / 0.7803 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.3897, allocations: 0.6197 MB / 0.7809 GB, free: 5.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.3898, allocations: 126.2 kB / 0.781 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3899, allocations: 47.94 kB / 0.7811 GB, free: 5.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.3914, allocations: 0.6792 MB / 0.7817 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3914, allocations: 4 kB / 0.7817 GB, free: 4.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.3915, allocations: 20 kB / 0.7817 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3915, allocations: 12 kB / 0.7818 GB, free: 4.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.3932, allocations: 0.7104 MB / 0.7824 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.3967, allocations: 1.867 MB / 0.7843 GB, free: 2.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/0.3994, allocations: 0.826 MB / 0.7851 GB, free: 1.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008494/0.4002, allocations: 354.3 kB / 0.7854 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001722/0.402, allocations: 1.765 MB / 0.7871 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009683/0.403, allocations: 434.9 kB / 0.7876 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 2.374e-06/0.403, allocations: 3.938 kB / 0.7876 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56): time 0.006802/0.4098, allocations: 1.503 MB / 0.789 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.4098, allocations: 111.4 kB / 0.7891 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.4103, allocations: 402 kB / 0.7895 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.99e-05/0.4104, allocations: 41.64 kB / 0.7896 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.4105, allocations: 272.6 kB / 0.7898 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4107, allocations: 181.3 kB / 0.79 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.4109, allocations: 122.2 kB / 0.7901 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.411, allocations: 362.8 kB / 0.7904 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000764/0.4118, allocations: 293.1 kB / 0.7907 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008514/0.4127, allocations: 425.5 kB / 0.7911 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.4143, allocations: 0.6989 MB / 0.7918 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4143, allocations: 0 / 0.7918 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00437/0.4187, allocations: 1.077 MB / 0.7929 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4187, allocations: 12 kB / 0.7929 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.4187, allocations: 4 kB / 0.7929 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.4219, allocations: 380.5 kB / 0.7932 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.4227, allocations: 155.7 kB / 0.7934 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/0.4267, allocations: 2.172 MB / 0.7955 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.4274, allocations: 87.42 kB / 0.7956 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.4275, allocations: 31.97 kB / 0.7956 GB, free: 5.613 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.0003045/0.4278, allocations: 204.1 kB / 0.7958 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4279, allocations: 59.39 kB / 0.7959 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.4312, allocations: 1.062 MB / 0.7969 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4312, allocations: 3.984 kB / 0.7969 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.4312, allocations: 7.938 kB / 0.7969 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.4315, allocations: 212.2 kB / 0.7971 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/0.4316, allocations: 8 kB / 0.7971 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.4322, allocations: 55.94 kB / 0.7972 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.4323, allocations: 48.58 kB / 0.7972 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002493/0.4348, allocations: 0.9545 MB / 0.7982 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002736/0.4375, allocations: 1.371 MB / 0.7995 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008054/0.4384, allocations: 373.2 kB / 0.7999 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002957/0.4387, allocations: 287.1 kB / 0.8001 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/0.4387, allocations: 0 / 0.8001 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00325/0.4419, allocations: 1.173 MB / 0.8013 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00172/0.4437, allocations: 1.46 MB / 0.8027 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.01836/0.462, allocations: 11.87 MB / 0.8143 GB, free: 2.621 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)