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.0009789/0.0009789, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009997/0.0009997, allocations: 177 kB / 23.36 MB, free: 1.129 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.988/0.988, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001726/0.001726, allocations: 241.9 kB / 260.5 MB, free: 12.7 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.7333/0.7333, allocations: 138.4 MB / 402.2 MB, free: 0.5078 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 2.114e-06/2.114e-06, allocations: 1.219 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.129e-05, allocations: 5.625 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.004202/0.004224, allocations: 3.671 MB / 466 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003797/0.008021, allocations: 3.713 MB / 469.7 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.008223, allocations: 12.88 kB / 469.7 MB, free: 11.26 MB / 426.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.0003658/0.008589, allocations: 115 kB / 469.8 MB, free: 11.15 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.009442, allocations: 0.4885 MB / 470.3 MB, free: 10.66 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.009963, allocations: 361.5 kB / 470.7 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005786/0.01054, allocations: 0.785 MB / 471.4 MB, free: 9.523 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.01073, allocations: 132.4 kB / 471.6 MB, free: 9.398 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.01117, allocations: 463.8 kB / 472 MB, free: 8.945 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.01147, allocations: 256.7 kB / 472.3 MB, free: 8.695 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.01154, allocations: 64 kB / 472.3 MB, free: 8.633 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.0122, allocations: 0.5733 MB / 472.9 MB, free: 8.059 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.01232, allocations: 164.6 kB / 473.1 MB, free: 7.898 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.01247, allocations: 215.4 kB / 473.3 MB, free: 7.688 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008363/0.0133, allocations: 0.9187 MB / 474.2 MB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01331, allocations: 1.188 kB / 474.2 MB, free: 6.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01331, allocations: 0 / 474.2 MB, free: 6.766 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01331, allocations: 0 / 474.2 MB, free: 6.766 MB / 426.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.001071/0.01438, allocations: 0.9382 MB / 475.1 MB, free: 5.809 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.01441, allocations: 9.812 kB / 475.2 MB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.01562, allocations: 361.2 kB / 475.5 MB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.01602, allocations: 360.1 kB / 475.9 MB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.01612, allocations: 191.8 kB / 476 MB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.01618, allocations: 49.38 kB / 476.1 MB, free: 4.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.01683, allocations: 0.5591 MB / 476.7 MB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01684, allocations: 0 / 476.7 MB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01689, allocations: 16 kB / 476.7 MB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.01689, allocations: 12 kB / 476.7 MB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.01724, allocations: 246.3 kB / 476.9 MB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.01886, allocations: 1.016 MB / 477.9 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.01961, allocations: 365.8 kB / 478.3 MB, free: 2.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.0198, allocations: 124.9 kB / 478.4 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/0.0203, allocations: 187.4 kB / 478.6 MB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.02057, allocations: 243.9 kB / 478.8 MB, free: 2.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 2.985e-06/0.02058, allocations: 6.75 kB / 478.8 MB, free: 2.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002331/0.02291, allocations: 0.9431 MB / 479.8 MB, free: 1.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.02295, allocations: 111.2 kB / 479.9 MB, free: 0.957 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.02318, allocations: 375.2 kB / 480.3 MB, free: 0.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.435e-05/0.02323, allocations: 37.7 kB / 480.3 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.02344, allocations: 226.1 kB / 480.5 MB, free: 324 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.02354, allocations: 194.3 kB / 480.7 MB, free: 128 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.02368, allocations: 122.2 kB / 480.8 MB, free: 0 / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.02379, allocations: 367.5 kB / 481.2 MB, free: 15.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.02392, allocations: 78.66 kB / 481.3 MB, free: 15.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.02412, allocations: 262.6 kB / 481.5 MB, free: 15.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.02448, allocations: 328.9 kB / 481.8 MB, free: 14.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02448, allocations: 1 kB / 481.8 MB, free: 14.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00113/0.02561, allocations: 0.5661 MB / 482.4 MB, free: 14.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.02563, allocations: 4 kB / 482.4 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02563, allocations: 4.781 kB / 482.4 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007737/0.02641, allocations: 301.5 kB / 482.7 MB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.02678, allocations: 144.8 kB / 482.9 MB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.02875, allocations: 1.556 MB / 484.4 MB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.02903, allocations: 81.41 kB / 484.5 MB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.02907, allocations: 24.59 kB / 484.5 MB, free: 12.15 MB / 442.7 MB 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.0001486/0.02922, allocations: 147.2 kB / 484.7 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.0293, allocations: 51.95 kB / 484.7 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.03034, allocations: 0.5891 MB / 485.3 MB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.03035, allocations: 8 kB / 485.3 MB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.03035, allocations: 0 / 485.3 MB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.03036, allocations: 3.984 kB / 485.3 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.03163, allocations: 0.8845 MB / 486.2 MB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03163, allocations: 0.5938 kB / 486.2 MB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.03198, allocations: 132.9 kB / 486.3 MB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005258/0.0325, allocations: 191.5 kB / 486.5 MB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.03254, allocations: 16.67 kB / 486.5 MB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.03378, allocations: 1.463 MB / 488 MB, free: 8.594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.03378, allocations: 5.75 kB / 488 MB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.03471, allocations: 0.5488 MB / 488.5 MB, free: 8.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.03486, allocations: 91.45 kB / 488.6 MB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.952e-05/0.03492, allocations: 18.58 kB / 488.7 MB, free: 7.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.03516, allocations: 37.86 kB / 488.7 MB, free: 7.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.03524, allocations: 52.48 kB / 488.7 MB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.119e-05/0.03528, allocations: 24.5 kB / 488.8 MB, free: 7.816 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.03541, allocations: 152.7 kB / 488.9 MB, free: 7.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03541, allocations: 0 / 488.9 MB, free: 7.664 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005007/0.03591, allocations: 267.3 kB / 489.2 MB, free: 7.402 MB / 442.7 MB 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.001353/0.03727, allocations: 0.6936 MB / 489.9 MB, free: 7.043 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.03786, allocations: 463.4 kB / 490.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.03787, allocations: 4 kB / 490.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.03818, allocations: 325.3 kB / 490.6 MB, free: 6.246 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.03847, allocations: 95.44 kB / 490.7 MB, free: 6.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.04005, allocations: 1.005 MB / 491.7 MB, free: 5.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.04014, allocations: 144.8 kB / 491.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003414/0.04048, allocations: 122 kB / 492 MB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.0408, allocations: 167.2 kB / 492.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/0.0408, allocations: 4 kB / 492.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of Templates: time 0.01479/0.05559, allocations: 12.73 MB / 0.4931 GB, free: 8.246 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.995531117077917]