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.001367/0.001367, allocations: 92.22 kB / 19.65 MB, free: 276 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.001426/0.001426, allocations: 173 kB / 23.02 MB, free: 1.547 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.9569/0.9569, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001732/0.001732, allocations: 232.7 kB / 260.2 MB, free: 12.82 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.6893/0.6893, allocations: 138.4 MB / 455.2 MB, free: 30.01 MB / 410.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.172e-06/1.172e-06, allocations: 0 / 0.555 GB, free: 228 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.993e-05/2.11e-05, allocations: 2.312 kB / 0.5551 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.003766/0.003788, allocations: 3.648 MB / 0.5586 GB, free: 12.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003581/0.007369, allocations: 3.689 MB / 0.5622 GB, free: 8.84 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.00759, allocations: 11.88 kB / 0.5622 GB, free: 8.828 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.0003784/0.007968, allocations: 134.8 kB / 0.5624 GB, free: 8.695 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008788/0.008847, allocations: 0.5086 MB / 0.5629 GB, free: 8.184 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005327/0.009379, allocations: 399 kB / 0.5632 GB, free: 7.793 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.00995, allocations: 0.8422 MB / 0.5641 GB, free: 6.949 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.01013, allocations: 126.4 kB / 0.5642 GB, free: 6.824 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.0106, allocations: 490.9 kB / 0.5646 GB, free: 6.344 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.01091, allocations: 283.2 kB / 0.5649 GB, free: 6.066 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.01099, allocations: 72 kB / 0.565 GB, free: 5.996 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.0116, allocations: 0.5538 MB / 0.5655 GB, free: 5.441 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.01173, allocations: 195.4 kB / 0.5657 GB, free: 5.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.01189, allocations: 219.4 kB / 0.5659 GB, free: 5.035 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.01276, allocations: 0.9655 MB / 0.5669 GB, free: 4.066 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01276, allocations: 0 / 0.5669 GB, free: 4.066 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01276, allocations: 0 / 0.5669 GB, free: 4.066 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.01277, allocations: 0 / 0.5669 GB, free: 4.066 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.001379/0.01415, allocations: 1.088 MB / 0.5679 GB, free: 2.941 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.01418, allocations: 9.938 kB / 0.5679 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.01557, allocations: 436 kB / 0.5684 GB, free: 2.508 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.01602, allocations: 456.9 kB / 0.5688 GB, free: 2.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.01613, allocations: 199.8 kB / 0.569 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.01619, allocations: 48.38 kB / 0.569 GB, free: 1.754 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.01693, allocations: 0.5774 MB / 0.5696 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01694, allocations: 0 / 0.5696 GB, free: 1.141 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.539e-05/0.01698, allocations: 16 kB / 0.5696 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.01699, allocations: 15.94 kB / 0.5696 GB, free: 1.109 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005329/0.01753, allocations: 377.6 kB / 0.57 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.01944, allocations: 1.489 MB / 0.5714 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.0204, allocations: 470.2 kB / 0.5719 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.02068, allocations: 189 kB / 0.5721 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004638/0.02115, allocations: 180.6 kB / 0.5722 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.02151, allocations: 275.7 kB / 0.5725 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 1.954e-06/0.02152, allocations: 0 / 0.5725 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.005259/0.02677, allocations: 1.339 MB / 0.5738 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.02683, allocations: 115.2 kB / 0.5739 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.02716, allocations: 434.8 kB / 0.5743 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.02721, allocations: 33.7 kB / 0.5744 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.02736, allocations: 323.9 kB / 0.5747 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.02747, allocations: 198.3 kB / 0.5749 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.02763, allocations: 131.9 kB / 0.575 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.02777, allocations: 0.5313 MB / 0.5755 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.028, allocations: 137.2 kB / 0.5756 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.02832, allocations: 349.3 kB / 0.576 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005406/0.02886, allocations: 449.4 kB / 0.5764 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02886, allocations: 0 / 0.5764 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003004/0.03187, allocations: 0.9608 MB / 0.5773 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.03188, allocations: 8 kB / 0.5773 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.03189, allocations: 4.312 kB / 0.5773 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.03496, allocations: 0.6316 MB / 0.578 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.03533, allocations: 139.8 kB / 0.5781 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.03822, allocations: 2.463 MB / 0.5805 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.03851, allocations: 67.64 kB / 0.5806 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.03855, allocations: 39.89 kB / 0.5806 GB, free: 5.426 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 (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 (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.0001701/0.03873, allocations: 192.4 kB / 0.5808 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.03882, allocations: 71.62 kB / 0.5809 GB, free: 5.156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.04043, allocations: 0.8383 MB / 0.5817 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.04044, allocations: 15.98 kB / 0.5817 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.04044, allocations: 0 / 0.5817 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.04045, allocations: 0 / 0.5817 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.0424, allocations: 1.365 MB / 0.583 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0424, allocations: 4 kB / 0.583 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.04272, allocations: 119.9 kB / 0.5831 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.04387, allocations: 351.2 kB / 0.5835 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.04391, allocations: 23.98 kB / 0.5835 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.04587, allocations: 2.171 MB / 0.5856 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.04587, allocations: 0 / 0.5856 GB, free: 92 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.04783, allocations: 0.8661 MB / 0.5865 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.04806, allocations: 139.4 kB / 0.5866 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.04812, allocations: 12 kB / 0.5866 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.04844, allocations: 35.97 kB / 0.5866 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.04855, allocations: 56.48 kB / 0.5867 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.0486, allocations: 31.97 kB / 0.5867 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002336/0.04884, allocations: 279.1 kB / 0.587 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.04884, allocations: 0 / 0.587 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007179/0.04956, allocations: 275.3 kB / 0.5873 GB, free: 14.38 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.001317/0.05087, allocations: 0.5788 MB / 0.5878 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.0524, allocations: 0.6658 MB / 0.5885 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.0524, allocations: 3.938 kB / 0.5885 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.05312, allocations: 459 kB / 0.5889 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.05359, allocations: 96.42 kB / 0.589 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.05542, allocations: 1.03 MB / 0.59 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.05553, allocations: 136.8 kB / 0.5901 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004195/0.05595, allocations: 128.4 kB / 0.5903 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.05616, allocations: 72.45 kB / 0.5903 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of SimCode: time 8.22e-07/0.05616, allocations: 0 / 0.5903 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of Templates: time 0.01776/0.07392, allocations: 12.9 MB / 0.6029 GB, free: 14.48 MB / 0.5261 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.284765529911965]