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.0008161/0.0008161, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001416/0.001416, allocations: 165 kB / 23.02 MB, free: 1.543 MB / 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.9333/0.9333, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.001717/0.001717, allocations: 240.9 kB / 260.2 MB, free: 12.8 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.7434/0.7434, allocations: 138.4 MB / 455.2 MB, free: 1.504 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.854e-06/1.854e-06, allocations: 0 / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.122e-05, allocations: 10.25 kB / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.01056/0.01058, allocations: 3.637 MB / 0.5586 GB, free: 12.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007874/0.01846, allocations: 3.693 MB / 0.5622 GB, free: 9.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.01873, allocations: 15.88 kB / 0.5623 GB, free: 9.156 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.00054/0.01927, allocations: 118.9 kB / 0.5624 GB, free: 9.039 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.02081, allocations: 0.5242 MB / 0.5629 GB, free: 8.512 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.02163, allocations: 391 kB / 0.5633 GB, free: 8.129 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.0228, allocations: 0.8386 MB / 0.5641 GB, free: 7.289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.02302, allocations: 130.4 kB / 0.5642 GB, free: 7.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.02379, allocations: 498.9 kB / 0.5647 GB, free: 6.672 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.02426, allocations: 283.2 kB / 0.5649 GB, free: 6.395 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.02437, allocations: 72 kB / 0.565 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008834/0.02525, allocations: 0.5421 MB / 0.5655 GB, free: 5.781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004467/0.0257, allocations: 183.4 kB / 0.5657 GB, free: 5.602 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.02597, allocations: 227.4 kB / 0.5659 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.02721, allocations: 0.946 MB / 0.5669 GB, free: 4.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.02722, allocations: 0 / 0.5669 GB, free: 4.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02722, allocations: 8 kB / 0.5669 GB, free: 4.422 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.818e-06/0.02723, allocations: 0 / 0.5669 GB, free: 4.422 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.001809/0.02904, allocations: 1.084 MB / 0.5679 GB, free: 3.297 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.02908, allocations: 12.73 kB / 0.5679 GB, free: 3.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.03134, allocations: 0.5117 MB / 0.5684 GB, free: 2.773 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009335/0.03227, allocations: 0.5407 MB / 0.569 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.0324, allocations: 195.8 kB / 0.5691 GB, free: 1.977 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.03249, allocations: 48.38 kB / 0.5692 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009965/0.03348, allocations: 0.606 MB / 0.5698 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.0335, allocations: 0 / 0.5698 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.03356, allocations: 28 kB / 0.5698 GB, free: 1.254 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.03357, allocations: 8 kB / 0.5698 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.03438, allocations: 361.7 kB / 0.5702 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.03636, allocations: 1.434 MB / 0.5716 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009216/0.03728, allocations: 457.5 kB / 0.572 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.03755, allocations: 177.1 kB / 0.5722 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/0.03802, allocations: 177.6 kB / 0.5723 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.03836, allocations: 271.7 kB / 0.5726 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 1.984e-06/0.03837, allocations: 0 / 0.5726 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.003236/0.0416, allocations: 1.035 MB / 0.5736 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.04164, allocations: 119.2 kB / 0.5737 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.04195, allocations: 438.8 kB / 0.5741 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.04199, allocations: 29.7 kB / 0.5742 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.04215, allocations: 331.9 kB / 0.5745 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.04227, allocations: 194.3 kB / 0.5747 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.04241, allocations: 131.9 kB / 0.5748 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.04255, allocations: 0.5313 MB / 0.5753 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.04278, allocations: 129.2 kB / 0.5754 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.0431, allocations: 361 kB / 0.5758 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/0.04364, allocations: 453.1 kB / 0.5762 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.04364, allocations: 4 kB / 0.5762 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002227/0.04587, allocations: 0.8205 MB / 0.577 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.04588, allocations: 4.344 kB / 0.577 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.04588, allocations: 8 kB / 0.577 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.04773, allocations: 407.2 kB / 0.5774 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.04809, allocations: 139.8 kB / 0.5776 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.05016, allocations: 2.225 MB / 0.5797 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.05043, allocations: 67.64 kB / 0.5798 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.05047, allocations: 31.92 kB / 0.5798 GB, free: 6.551 MB / 0.4948 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.0002798/0.05075, allocations: 200.4 kB / 0.58 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.05084, allocations: 71.62 kB / 0.5801 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.05215, allocations: 0.7603 MB / 0.5808 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.05216, allocations: 4 kB / 0.5808 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.05216, allocations: 0 / 0.5808 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.05216, allocations: 7.984 kB / 0.5808 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.05388, allocations: 1.272 MB / 0.5821 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.05388, allocations: 0 / 0.5821 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.0542, allocations: 135.8 kB / 0.5822 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007652/0.05497, allocations: 235.5 kB / 0.5824 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.05501, allocations: 27.97 kB / 0.5825 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.05637, allocations: 2.042 MB / 0.5845 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.05637, allocations: 4 kB / 0.5845 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.05763, allocations: 0.7959 MB / 0.5852 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.05779, allocations: 131.4 kB / 0.5854 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.05784, allocations: 11.98 kB / 0.5854 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.05807, allocations: 38.89 kB / 0.5854 GB, free: 0.6094 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.495e-05/0.05814, allocations: 52.5 kB / 0.5855 GB, free: 0.5547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.05818, allocations: 23.98 kB / 0.5855 GB, free: 0.5312 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001815/0.05836, allocations: 279.1 kB / 0.5857 GB, free: 268 kB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.05836, allocations: 0 / 0.5857 GB, free: 268 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005665/0.05893, allocations: 267.3 kB / 0.586 GB, free: 0 / 0.4948 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.001162/0.06009, allocations: 0.5757 MB / 0.5866 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009343/0.06102, allocations: 0.6314 MB / 0.5872 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.06103, allocations: 0 / 0.5872 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.0615, allocations: 462.1 kB / 0.5876 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.06184, allocations: 96.19 kB / 0.5877 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.06329, allocations: 1.031 MB / 0.5887 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.06338, allocations: 136.8 kB / 0.5889 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003311/0.06371, allocations: 132.5 kB / 0.589 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.06388, allocations: 76.44 kB / 0.589 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.06388, allocations: 0 / 0.589 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of Templates: time 0.01299/0.07688, allocations: 10.97 MB / 0.5998 GB, free: 2.031 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.44660292705521]