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.001109/0.001109, allocations: 93.06 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.001227/0.001227, allocations: 165.3 kB / 23.02 MB, free: 1.551 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.9609/0.9609, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.001956/0.001956, allocations: 233.9 kB / 260.2 MB, free: 12.83 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.6857/0.6857, allocations: 138.4 MB / 455.2 MB, free: 1.508 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.332e-06/1.332e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.975e-05, allocations: 5.688 kB / 0.5551 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005062/0.005082, allocations: 3.656 MB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004895/0.009977, allocations: 3.68 MB / 0.5622 GB, free: 9.129 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.01025, allocations: 15.88 kB / 0.5623 GB, free: 9.113 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.000438/0.01069, allocations: 111 kB / 0.5624 GB, free: 9.004 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.01193, allocations: 0.5203 MB / 0.5629 GB, free: 8.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007128/0.01265, allocations: 371 kB / 0.5632 GB, free: 8.117 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000779/0.01343, allocations: 0.7797 MB / 0.564 GB, free: 7.336 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.01366, allocations: 126.4 kB / 0.5641 GB, free: 7.211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005971/0.01425, allocations: 466.9 kB / 0.5646 GB, free: 6.754 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.01464, allocations: 259.3 kB / 0.5648 GB, free: 6.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.01474, allocations: 64 kB / 0.5649 GB, free: 6.438 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008181/0.01556, allocations: 0.5343 MB / 0.5654 GB, free: 5.902 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.01571, allocations: 175.4 kB / 0.5656 GB, free: 5.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.01593, allocations: 219.4 kB / 0.5658 GB, free: 5.516 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.01709, allocations: 0.9303 MB / 0.5667 GB, free: 4.582 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01709, allocations: 0 / 0.5667 GB, free: 4.582 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01709, allocations: 0 / 0.5667 GB, free: 4.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.0171, allocations: 0 / 0.5667 GB, free: 4.582 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.001579/0.01868, allocations: 1.057 MB / 0.5677 GB, free: 3.484 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01872, allocations: 12.75 kB / 0.5677 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.02048, allocations: 0.5312 MB / 0.5682 GB, free: 2.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.02118, allocations: 0.529 MB / 0.5688 GB, free: 2.383 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.02129, allocations: 199.8 kB / 0.5689 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.02135, allocations: 48.38 kB / 0.569 GB, free: 2.105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000814/0.02217, allocations: 0.6259 MB / 0.5696 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.02218, allocations: 3.984 kB / 0.5696 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.02223, allocations: 20 kB / 0.5696 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.02224, allocations: 16 kB / 0.5696 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.02279, allocations: 357.7 kB / 0.57 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.02457, allocations: 1.377 MB / 0.5713 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009904/0.02556, allocations: 466.7 kB / 0.5718 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.02585, allocations: 173.1 kB / 0.5719 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004754/0.02633, allocations: 180.3 kB / 0.5721 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.02669, allocations: 259.8 kB / 0.5724 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.024e-06/0.02669, allocations: 7.938 kB / 0.5724 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.002651/0.02934, allocations: 1.043 MB / 0.5734 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.02939, allocations: 115.2 kB / 0.5735 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.02972, allocations: 450.7 kB / 0.5739 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.02976, allocations: 33.7 kB / 0.574 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.02992, allocations: 331.8 kB / 0.5743 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.03003, allocations: 190.3 kB / 0.5745 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.03018, allocations: 127.9 kB / 0.5746 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.03034, allocations: 0.539 MB / 0.5751 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.03057, allocations: 117.2 kB / 0.5752 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.03093, allocations: 368.9 kB / 0.5756 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.0315, allocations: 429 kB / 0.576 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.03151, allocations: 0 / 0.576 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001461/0.03297, allocations: 0.7035 MB / 0.5767 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.03299, allocations: 11.98 kB / 0.5767 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.03299, allocations: 4 kB / 0.5767 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006893/0.03368, allocations: 215.8 kB / 0.5769 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.03405, allocations: 139.8 kB / 0.577 GB, free: 9.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.03595, allocations: 2.026 MB / 0.579 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.03625, allocations: 95.64 kB / 0.5791 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.03629, allocations: 27.98 kB / 0.5791 GB, free: 7.258 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.0001587/0.03645, allocations: 188.4 kB / 0.5793 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.03655, allocations: 79.55 kB / 0.5794 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.03784, allocations: 0.7249 MB / 0.5801 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.03785, allocations: 8 kB / 0.5801 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.03785, allocations: 0 / 0.5801 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.03786, allocations: 3.984 kB / 0.5801 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.03952, allocations: 1.244 MB / 0.5813 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.03952, allocations: 0 / 0.5813 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.03985, allocations: 127.8 kB / 0.5814 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.04036, allocations: 167.4 kB / 0.5816 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.0404, allocations: 23.98 kB / 0.5816 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.04176, allocations: 1.968 MB / 0.5835 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.04176, allocations: 0 / 0.5835 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.04291, allocations: 0.7609 MB / 0.5843 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.04308, allocations: 139.3 kB / 0.5844 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.04313, allocations: 11.94 kB / 0.5844 GB, free: 1.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.04338, allocations: 43.95 kB / 0.5845 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.286e-05/0.04346, allocations: 52.56 kB / 0.5845 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.0435, allocations: 23.98 kB / 0.5845 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001967/0.04369, allocations: 287 kB / 0.5848 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.04369, allocations: 0 / 0.5848 GB, free: 1.195 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005331/0.04423, allocations: 263.3 kB / 0.5851 GB, free: 0.9375 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.001045/0.04527, allocations: 0.5744 MB / 0.5856 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007906/0.04606, allocations: 0.5765 MB / 0.5862 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.04607, allocations: 0 / 0.5862 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.04646, allocations: 431.2 kB / 0.5866 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.0468, allocations: 85.59 kB / 0.5867 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.04828, allocations: 1.027 MB / 0.5877 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.63e-05/0.04837, allocations: 148.6 kB / 0.5878 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.0487, allocations: 140.4 kB / 0.5879 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.04887, allocations: 68.45 kB / 0.588 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.04887, allocations: 0 / 0.588 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of Templates: time 0.01267/0.06154, allocations: 11.04 MB / 0.5988 GB, free: 3 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.425874252337962]