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.001401/0.001401, allocations: 92.7 kB / 19.44 MB, free: 324 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.001613/0.001613, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.446/1.446, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.002705/0.002705, allocations: 226.3 kB / 259.8 MB, free: 12.87 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 1.08/1.08, allocations: 138.4 MB / 454.7 MB, free: 1.48 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.262e-06/1.262e-06, allocations: 0 / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.315e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005974/0.005997, allocations: 3.488 MB / 0.5577 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006516/0.01251, allocations: 3.506 MB / 0.5611 GB, free: 9.879 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.0129, allocations: 15.88 kB / 0.5611 GB, free: 9.863 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.0005669/0.01346, allocations: 126.8 kB / 0.5612 GB, free: 9.738 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.01504, allocations: 0.5125 MB / 0.5618 GB, free: 9.223 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009279/0.01597, allocations: 359 kB / 0.5621 GB, free: 8.871 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.01707, allocations: 0.7875 MB / 0.5629 GB, free: 8.082 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.01738, allocations: 130.4 kB / 0.563 GB, free: 7.953 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008424/0.01822, allocations: 455 kB / 0.5634 GB, free: 7.508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.01877, allocations: 259.2 kB / 0.5637 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.01894, allocations: 75.94 kB / 0.5637 GB, free: 7.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.02005, allocations: 0.5421 MB / 0.5643 GB, free: 6.637 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.02031, allocations: 175.4 kB / 0.5644 GB, free: 6.465 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.0207, allocations: 223.4 kB / 0.5646 GB, free: 6.246 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.02277, allocations: 1.273 MB / 0.5659 GB, free: 4.969 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.02278, allocations: 0 / 0.5659 GB, free: 4.969 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02278, allocations: 0 / 0.5659 GB, free: 4.969 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.02281, allocations: 7.984 kB / 0.5659 GB, free: 4.961 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.00254/0.02535, allocations: 0.9612 MB / 0.5668 GB, free: 3.965 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.02538, allocations: 12.75 kB / 0.5669 GB, free: 3.953 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.02994, allocations: 0.7223 MB / 0.5676 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.03162, allocations: 0.5771 MB / 0.5681 GB, free: 2.625 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.03184, allocations: 195.8 kB / 0.5683 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.03195, allocations: 48.38 kB / 0.5684 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.03391, allocations: 0.7938 MB / 0.5691 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.03392, allocations: 0 / 0.5691 GB, free: 1.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.687e-05/0.034, allocations: 20 kB / 0.5691 GB, free: 1.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.03402, allocations: 12 kB / 0.5692 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002401/0.03642, allocations: 0.7689 MB / 0.5699 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.04037, allocations: 1.618 MB / 0.5715 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/0.04359, allocations: 0.8288 MB / 0.5723 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.0447, allocations: 354.1 kB / 0.5726 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.04596, allocations: 201.5 kB / 0.5728 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.04725, allocations: 454 kB / 0.5733 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.294e-06/0.04725, allocations: 0 / 0.5733 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.009036/0.05629, allocations: 1.723 MB / 0.5749 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.05639, allocations: 111.3 kB / 0.5751 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.05704, allocations: 438 kB / 0.5755 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.673e-05/0.05712, allocations: 37.7 kB / 0.5755 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.0574, allocations: 281.1 kB / 0.5758 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.05761, allocations: 190.3 kB / 0.576 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/0.05789, allocations: 130.2 kB / 0.5761 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.05812, allocations: 366.7 kB / 0.5764 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.0592, allocations: 317.1 kB / 0.5767 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.06046, allocations: 0.5007 MB / 0.5772 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.06267, allocations: 0.7328 MB / 0.5779 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.06267, allocations: 0 / 0.5779 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004733/0.0674, allocations: 1.146 MB / 0.5791 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.06742, allocations: 11.12 kB / 0.5791 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.06743, allocations: 0 / 0.5791 GB, free: 7.098 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/0.06972, allocations: 372.8 kB / 0.5794 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/0.07062, allocations: 163.7 kB / 0.5796 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006537/0.07716, allocations: 2.226 MB / 0.5817 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008358/0.078, allocations: 99.62 kB / 0.5818 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.07808, allocations: 39.95 kB / 0.5819 GB, free: 4.102 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.0003725/0.07846, allocations: 201.7 kB / 0.5821 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.07866, allocations: 75.56 kB / 0.5821 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003994/0.08265, allocations: 1.097 MB / 0.5832 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.08266, allocations: 8 kB / 0.5832 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.08266, allocations: 0 / 0.5832 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.08267, allocations: 3.984 kB / 0.5832 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004755/0.08743, allocations: 1.648 MB / 0.5848 GB, free: 1.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.08743, allocations: 4 kB / 0.5848 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008415/0.08827, allocations: 143.8 kB / 0.585 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/0.08976, allocations: 240.6 kB / 0.5852 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-05/0.08983, allocations: 23.97 kB / 0.5852 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004641/0.09447, allocations: 2.019 MB / 0.5872 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.09448, allocations: 0 / 0.5872 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003732/0.09821, allocations: 1.093 MB / 0.5883 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005687/0.09878, allocations: 143.3 kB / 0.5884 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.09889, allocations: 15.94 kB / 0.5884 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/0.09963, allocations: 66.67 kB / 0.5885 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.09978, allocations: 52.55 kB / 0.5885 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.09985, allocations: 23.98 kB / 0.5886 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004833/0.1003, allocations: 303.1 kB / 0.5888 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.1003, allocations: 0 / 0.5888 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009801/0.1013, allocations: 267.3 kB / 0.5891 GB, free: 12.51 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 (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.002469/0.1038, allocations: 0.6093 MB / 0.5897 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.1066, allocations: 0.8775 MB / 0.5906 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1066, allocations: 3.938 kB / 0.5906 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.108, allocations: 0.5061 MB / 0.5911 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.1086, allocations: 89.86 kB / 0.5911 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.1114, allocations: 1.236 MB / 0.5923 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1118, allocations: 286.2 kB / 0.5926 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006628/0.1125, allocations: 148.4 kB / 0.5928 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.1128, allocations: 76.44 kB / 0.5928 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/0.1128, allocations: 0 / 0.5928 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of Templates: time 0.1839/0.2967, allocations: 11.48 MB / 0.604 GB, free: 100.2 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.22888727998361]