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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9292/0.9292, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002612/0.002612, allocations: 233.5 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7383/0.7383, allocations: 138.4 MB / 456.3 MB, free: 1.449 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5563 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.446e-05, allocations: 2.312 kB / 0.5563 GB, free: 328 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004914/0.004939, allocations: 3.585 MB / 0.5598 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.009875, allocations: 3.669 MB / 0.5634 GB, free: 9.027 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000359/0.01023, allocations: 11.88 kB / 0.5634 GB, free: 9.016 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 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 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 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.0004855/0.01072, allocations: 126.8 kB / 0.5635 GB, free: 8.891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.01203, allocations: 0.5164 MB / 0.564 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007803/0.01281, allocations: 394.9 kB / 0.5644 GB, free: 7.984 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008839/0.0137, allocations: 0.8426 MB / 0.5652 GB, free: 7.141 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.01397, allocations: 122.4 kB / 0.5654 GB, free: 7.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007622/0.01473, allocations: 494.9 kB / 0.5658 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005213/0.01525, allocations: 287.2 kB / 0.5661 GB, free: 6.254 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.0154, allocations: 75.94 kB / 0.5662 GB, free: 6.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.01643, allocations: 0.5538 MB / 0.5667 GB, free: 5.625 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.01661, allocations: 183.4 kB / 0.5669 GB, free: 5.445 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.01689, allocations: 227.4 kB / 0.5671 GB, free: 5.223 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.01837, allocations: 0.9655 MB / 0.5681 GB, free: 4.254 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.01837, allocations: 0 / 0.5681 GB, free: 4.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01837, allocations: 0 / 0.5681 GB, free: 4.254 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.01838, allocations: 0 / 0.5681 GB, free: 4.254 MB / 490.7 MB 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.002069/0.02045, allocations: 1.096 MB / 0.5691 GB, free: 3.117 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.0205, allocations: 12.73 kB / 0.5691 GB, free: 3.105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.02269, allocations: 388.1 kB / 0.5695 GB, free: 2.727 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.02346, allocations: 452.9 kB / 0.5699 GB, free: 2.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.02362, allocations: 199.8 kB / 0.5701 GB, free: 2.023 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.02371, allocations: 48.38 kB / 0.5702 GB, free: 1.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.02475, allocations: 0.5304 MB / 0.5707 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.02476, allocations: 0 / 0.5707 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.02483, allocations: 20 kB / 0.5707 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.02485, allocations: 16 kB / 0.5707 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.0255, allocations: 298.6 kB / 0.571 GB, free: 1.086 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003123/0.02862, allocations: 1.404 MB / 0.5724 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.02992, allocations: 416.7 kB / 0.5728 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.03027, allocations: 157 kB / 0.5729 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/0.03105, allocations: 181.6 kB / 0.5731 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.03155, allocations: 251.7 kB / 0.5733 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.776e-06/0.03155, allocations: 0 / 0.5733 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.008281/0.03983, allocations: 1.253 MB / 0.5746 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.03989, allocations: 115.2 kB / 0.5747 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/0.04023, allocations: 426.5 kB / 0.5751 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.04029, allocations: 37.7 kB / 0.5751 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.04046, allocations: 335.8 kB / 0.5754 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.04059, allocations: 190.3 kB / 0.5756 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.04075, allocations: 139.8 kB / 0.5758 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.04092, allocations: 0.5351 MB / 0.5763 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.0411, allocations: 101.2 kB / 0.5764 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.04137, allocations: 325.3 kB / 0.5767 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.0418, allocations: 401.3 kB / 0.5771 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.0418, allocations: 0 / 0.5771 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002863/0.04467, allocations: 0.8947 MB / 0.5779 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.04468, allocations: 11.92 kB / 0.578 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.04469, allocations: 4 kB / 0.578 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003078/0.04777, allocations: 0.6277 MB / 0.5786 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.04817, allocations: 135.8 kB / 0.5787 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.05098, allocations: 2.44 MB / 0.5811 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.05136, allocations: 67.59 kB / 0.5811 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.0514, allocations: 27.97 kB / 0.5812 GB, free: 6.254 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 4 (radiation.outsidePolarCircle,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0002273/0.05163, allocations: 200.3 kB / 0.5814 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.05175, allocations: 75.59 kB / 0.5814 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.05333, allocations: 0.7719 MB / 0.5822 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.05334, allocations: 4 kB / 0.5822 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.05334, allocations: 0 / 0.5822 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.05335, allocations: 7.984 kB / 0.5822 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.05531, allocations: 1.241 MB / 0.5834 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.05531, allocations: 7.938 kB / 0.5834 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.05565, allocations: 119.9 kB / 0.5835 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.05684, allocations: 347.2 kB / 0.5839 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.05688, allocations: 19.98 kB / 0.5839 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.05862, allocations: 2.133 MB / 0.586 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.05862, allocations: 4 kB / 0.586 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/0.06003, allocations: 0.8113 MB / 0.5868 GB, free: 332 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.06022, allocations: 135.6 kB / 0.5869 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.06028, allocations: 20 kB / 0.5869 GB, free: 176 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.06052, allocations: 31.97 kB / 0.5869 GB, free: 144 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.06061, allocations: 52.55 kB / 0.587 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.06065, allocations: 19.98 kB / 0.587 GB, free: 68 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001857/0.06084, allocations: 267 kB / 0.5873 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.06084, allocations: 0 / 0.5873 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007174/0.06156, allocations: 271.3 kB / 0.5875 GB, free: 15.54 MB / 0.5105 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 (67): * Single equations (assignments): 65 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.06275, allocations: 0.5614 MB / 0.5881 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.0639, allocations: 0.6077 MB / 0.5887 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.0639, allocations: 4.25 kB / 0.5887 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.06442, allocations: 430.2 kB / 0.5891 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.0649, allocations: 100.4 kB / 0.5892 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.06635, allocations: 0.9992 MB / 0.5902 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.06645, allocations: 148.7 kB / 0.5903 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.06679, allocations: 120.5 kB / 0.5904 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.06712, allocations: 198.1 kB / 0.5906 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.06712, allocations: 0 / 0.5906 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.1826/0.2497, allocations: 13.34 MB / 0.6036 GB, free: 94.05 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.334280706010759]