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.000871/0.000871, allocations: 73.09 kB / 20.66 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.000923/0.000923, allocations: 169 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.9544/0.9544, allocations: 177.1 MB / 204.5 MB, free: 5.508 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: 241.6 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.8053/0.8053, allocations: 138.4 MB / 456.3 MB, free: 1.379 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.743e-06/1.743e-06, allocations: 0 / 0.5563 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.025e-05, allocations: 5.266 kB / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004081/0.004101, allocations: 3.613 MB / 0.5599 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.008192, allocations: 3.645 MB / 0.5634 GB, free: 8.953 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.008492, allocations: 11.88 kB / 0.5634 GB, free: 8.941 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.0004267/0.008919, allocations: 122.8 kB / 0.5635 GB, free: 8.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000973/0.009892, allocations: 0.5242 MB / 0.5641 GB, free: 8.293 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.01044, allocations: 355 kB / 0.5644 GB, free: 7.945 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.01102, allocations: 0.7953 MB / 0.5652 GB, free: 7.148 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.0112, allocations: 122.4 kB / 0.5653 GB, free: 7.027 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004478/0.01165, allocations: 466.9 kB / 0.5657 GB, free: 6.57 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.01194, allocations: 243.3 kB / 0.566 GB, free: 6.332 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.012, allocations: 64 kB / 0.566 GB, free: 6.27 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006325/0.01264, allocations: 0.5499 MB / 0.5666 GB, free: 5.719 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01276, allocations: 167.4 kB / 0.5667 GB, free: 5.555 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.01316, allocations: 211.4 kB / 0.5669 GB, free: 5.348 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.01401, allocations: 0.9264 MB / 0.5678 GB, free: 4.418 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01401, allocations: 0 / 0.5678 GB, free: 4.418 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01402, allocations: 4 kB / 0.5678 GB, free: 4.414 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.01402, allocations: 0 / 0.5678 GB, free: 4.414 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.001232/0.01525, allocations: 1.069 MB / 0.5689 GB, free: 3.305 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.01529, allocations: 12.75 kB / 0.5689 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.01662, allocations: 407.9 kB / 0.5693 GB, free: 2.895 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004285/0.01705, allocations: 449 kB / 0.5697 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.01716, allocations: 195.8 kB / 0.5699 GB, free: 2.199 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.01722, allocations: 48.38 kB / 0.5699 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.01789, allocations: 0.5503 MB / 0.5705 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.0179, allocations: 0 / 0.5705 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.01794, allocations: 20 kB / 0.5705 GB, free: 1.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01795, allocations: 15.94 kB / 0.5705 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.01834, allocations: 290.6 kB / 0.5708 GB, free: 1.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.02004, allocations: 1.32 MB / 0.5721 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.02086, allocations: 410.8 kB / 0.5725 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.02107, allocations: 145.1 kB / 0.5726 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/0.02153, allocations: 188.2 kB / 0.5728 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.02183, allocations: 247.7 kB / 0.573 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.314e-06/0.02184, allocations: 0 / 0.573 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.002939/0.02477, allocations: 1.086 MB / 0.5741 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02481, allocations: 111.2 kB / 0.5742 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.0251, allocations: 438.5 kB / 0.5746 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.02514, allocations: 41.7 kB / 0.5746 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.02529, allocations: 335.8 kB / 0.575 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.0254, allocations: 190.3 kB / 0.5751 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.02556, allocations: 135.8 kB / 0.5753 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.02569, allocations: 0.5429 MB / 0.5758 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.02585, allocations: 93.22 kB / 0.5759 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.02609, allocations: 321.2 kB / 0.5762 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.02649, allocations: 381.3 kB / 0.5766 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.02649, allocations: 0 / 0.5766 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001359/0.02785, allocations: 0.6842 MB / 0.5772 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.02787, allocations: 8 kB / 0.5772 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.02787, allocations: 4 kB / 0.5772 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008311/0.0287, allocations: 311.4 kB / 0.5775 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.02906, allocations: 131.8 kB / 0.5777 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.03105, allocations: 2.139 MB / 0.5798 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.03136, allocations: 83.59 kB / 0.5798 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.0314, allocations: 23.97 kB / 0.5799 GB, free: 7.535 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): 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.0001658/0.03156, allocations: 192.5 kB / 0.58 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/0.03166, allocations: 67.67 kB / 0.5801 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.03314, allocations: 0.6975 MB / 0.5808 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.03315, allocations: 8 kB / 0.5808 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.03315, allocations: 3.938 kB / 0.5808 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.03316, allocations: 3.984 kB / 0.5808 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.03469, allocations: 1.166 MB / 0.5819 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.03469, allocations: 0 / 0.5819 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.03502, allocations: 119.9 kB / 0.5821 GB, free: 5.227 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.03556, allocations: 195.5 kB / 0.5822 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.03559, allocations: 23.91 kB / 0.5823 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.03702, allocations: 2.043 MB / 0.5843 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.03702, allocations: 0 / 0.5843 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.03806, allocations: 0.7258 MB / 0.585 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.03823, allocations: 139.3 kB / 0.5851 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.03829, allocations: 12 kB / 0.5851 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.03854, allocations: 39.97 kB / 0.5852 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.03862, allocations: 56.55 kB / 0.5852 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/0.03866, allocations: 19.97 kB / 0.5852 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001638/0.03883, allocations: 282.9 kB / 0.5855 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03883, allocations: 0 / 0.5855 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000612/0.03944, allocations: 267.3 kB / 0.5858 GB, free: 1.289 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.001115/0.04055, allocations: 0.5731 MB / 0.5863 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007109/0.04127, allocations: 0.5335 MB / 0.5868 GB, free: 320 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.04127, allocations: 0.8125 kB / 0.5868 GB, free: 320 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.04164, allocations: 414.2 kB / 0.5872 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.04199, allocations: 85.86 kB / 0.5873 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.04356, allocations: 1.007 MB / 0.5883 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.712e-05/0.04365, allocations: 144.6 kB / 0.5884 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.04399, allocations: 124.5 kB / 0.5886 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.04431, allocations: 194.1 kB / 0.5887 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.04431, allocations: 4 kB / 0.5887 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.01529/0.0596, allocations: 12.94 MB / 0.6014 GB, free: 1.434 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.344358030240983]