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.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.001507/0.001507, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001779/0.001779, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.001713/0.001713, allocations: 225.9 kB / 260.5 MB, free: 12.89 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.7612/0.7612, allocations: 138.4 MB / 455.4 MB, free: 1.539 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.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.555 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.129e-05, allocations: 6.312 kB / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004065/0.004086, allocations: 3.644 MB / 0.5586 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.008039, allocations: 3.661 MB / 0.5621 GB, free: 9.559 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.008335, allocations: 15.88 kB / 0.5621 GB, free: 9.543 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.0004207/0.008755, allocations: 114.9 kB / 0.5623 GB, free: 9.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.009779, allocations: 0.5203 MB / 0.5628 GB, free: 8.906 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.01033, allocations: 367 kB / 0.5631 GB, free: 8.547 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.01088, allocations: 0.7836 MB / 0.5639 GB, free: 7.762 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.01107, allocations: 118.5 kB / 0.564 GB, free: 7.645 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.01151, allocations: 470.9 kB / 0.5644 GB, free: 7.184 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.0118, allocations: 255.3 kB / 0.5647 GB, free: 6.934 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.01187, allocations: 68 kB / 0.5647 GB, free: 6.867 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.01277, allocations: 0.5304 MB / 0.5653 GB, free: 6.336 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.01291, allocations: 175.4 kB / 0.5654 GB, free: 6.164 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.01308, allocations: 219.4 kB / 0.5656 GB, free: 5.949 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009773/0.01406, allocations: 0.9264 MB / 0.5665 GB, free: 5.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01406, allocations: 0 / 0.5665 GB, free: 5.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01407, allocations: 4 kB / 0.5666 GB, free: 5.016 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01407, allocations: 0 / 0.5666 GB, free: 5.016 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001245/0.01532, allocations: 1.057 MB / 0.5676 GB, free: 3.918 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.01535, allocations: 12.75 kB / 0.5676 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.017, allocations: 0.5312 MB / 0.5681 GB, free: 3.375 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.01772, allocations: 0.5329 MB / 0.5686 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.01784, allocations: 199.8 kB / 0.5688 GB, free: 2.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.0179, allocations: 52.36 kB / 0.5689 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.01875, allocations: 0.6298 MB / 0.5695 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.01876, allocations: 0 / 0.5695 GB, free: 1.859 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.0188, allocations: 16 kB / 0.5695 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.01882, allocations: 12 kB / 0.5695 GB, free: 1.832 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005777/0.01939, allocations: 365.7 kB / 0.5699 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.02124, allocations: 1.362 MB / 0.5712 GB, free: 76 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.02232, allocations: 466.8 kB / 0.5716 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.0229, allocations: 173.1 kB / 0.5718 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005027/0.0234, allocations: 176.3 kB / 0.572 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.02377, allocations: 275.8 kB / 0.5722 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 1.944e-06/0.02377, allocations: 0 / 0.5722 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.002702/0.02648, allocations: 1.039 MB / 0.5733 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.02652, allocations: 111.2 kB / 0.5734 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.02686, allocations: 450.7 kB / 0.5738 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.0269, allocations: 33.7 kB / 0.5738 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.02706, allocations: 327.9 kB / 0.5741 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.02717, allocations: 194.3 kB / 0.5743 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.02732, allocations: 127.9 kB / 0.5744 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.02746, allocations: 0.5391 MB / 0.575 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.02769, allocations: 121.2 kB / 0.5751 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.02802, allocations: 364.9 kB / 0.5754 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/0.02855, allocations: 429 kB / 0.5758 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.02856, allocations: 0 / 0.5758 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001442/0.03, allocations: 0.7113 MB / 0.5765 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.03002, allocations: 10.97 kB / 0.5765 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.03003, allocations: 4 kB / 0.5765 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006961/0.03072, allocations: 215.8 kB / 0.5768 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.0311, allocations: 143.8 kB / 0.5769 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.03331, allocations: 2.03 MB / 0.5789 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.03361, allocations: 83.58 kB / 0.579 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.03366, allocations: 35.97 kB / 0.579 GB, free: 7.688 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): 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.0001651/0.03382, allocations: 188 kB / 0.5792 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.03393, allocations: 75.61 kB / 0.5792 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.03527, allocations: 0.7367 MB / 0.58 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.03528, allocations: 11.94 kB / 0.58 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.03528, allocations: 0 / 0.58 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.03529, allocations: 3.984 kB / 0.58 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.03697, allocations: 1.244 MB / 0.5812 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03698, allocations: 0 / 0.5812 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.03731, allocations: 127.8 kB / 0.5813 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.03782, allocations: 167.5 kB / 0.5815 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.03785, allocations: 15.98 kB / 0.5815 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/0.03923, allocations: 1.968 MB / 0.5834 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.03923, allocations: 0 / 0.5834 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.04043, allocations: 0.7688 MB / 0.5842 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.0406, allocations: 143.3 kB / 0.5843 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.04066, allocations: 15.94 kB / 0.5843 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.04091, allocations: 39.97 kB / 0.5843 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.319e-05/0.041, allocations: 48.56 kB / 0.5844 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.04104, allocations: 23.98 kB / 0.5844 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002009/0.04124, allocations: 287 kB / 0.5847 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.04124, allocations: 0 / 0.5847 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005859/0.04183, allocations: 263.3 kB / 0.5849 GB, free: 1.359 MB / 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 (66): * Single equations (assignments): 64 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/0.04299, allocations: 0.5663 MB / 0.5855 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001099/0.04408, allocations: 0.5771 MB / 0.5861 GB, free: 352 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.04409, allocations: 4.188 kB / 0.5861 GB, free: 348 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.0445, allocations: 426.3 kB / 0.5865 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.04485, allocations: 89.86 kB / 0.5866 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.04641, allocations: 1.027 MB / 0.5876 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.04649, allocations: 148.6 kB / 0.5877 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000349/0.04684, allocations: 136.5 kB / 0.5878 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.04701, allocations: 68.45 kB / 0.5879 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of SimCode: time 9.91e-07/0.04701, allocations: 0 / 0.5879 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.01318/0.06019, allocations: 11.04 MB / 0.5987 GB, free: 3.426 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.425220830133185]