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.002612/0.002612, allocations: 81.5 kB / 19.44 MB, free: 344 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.003442/0.003442, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.558/1.558, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.003319/0.003319, allocations: 235.7 kB / 259.8 MB, free: 12.84 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.208/1.208, allocations: 138.4 MB / 454.7 MB, free: 1.52 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.162e-06/1.162e-06, allocations: 0 / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.491e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimpleMPP): time 0.005908/0.005933, allocations: 3.618 MB / 0.5578 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007056/0.01299, allocations: 3.619 MB / 0.5614 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.01329, allocations: 11.88 kB / 0.5614 GB, free: 9.648 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.0004882/0.01378, allocations: 126.8 kB / 0.5615 GB, free: 9.523 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01514, allocations: 0.5203 MB / 0.562 GB, free: 9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.01595, allocations: 359.1 kB / 0.5623 GB, free: 8.648 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000944/0.0169, allocations: 0.7913 MB / 0.5631 GB, free: 7.855 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002893/0.01718, allocations: 130.4 kB / 0.5632 GB, free: 7.727 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.01786, allocations: 455 kB / 0.5637 GB, free: 7.281 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.01834, allocations: 255.2 kB / 0.5639 GB, free: 7.031 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.01846, allocations: 64 kB / 0.564 GB, free: 6.969 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.01949, allocations: 0.5499 MB / 0.5645 GB, free: 6.418 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.01971, allocations: 171.4 kB / 0.5647 GB, free: 6.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.02002, allocations: 219.4 kB / 0.5649 GB, free: 6.035 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001943/0.02197, allocations: 1.25 MB / 0.5661 GB, free: 4.781 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.02197, allocations: 3.938 kB / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02197, allocations: 0 / 0.5661 GB, free: 4.777 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.02198, allocations: 0 / 0.5661 GB, free: 4.777 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.002188/0.02417, allocations: 1.108 MB / 0.5672 GB, free: 3.629 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.0242, allocations: 12.75 kB / 0.5672 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003404/0.02761, allocations: 0.5311 MB / 0.5677 GB, free: 3.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.02896, allocations: 0.5369 MB / 0.5682 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.02917, allocations: 195.8 kB / 0.5684 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02927, allocations: 52.36 kB / 0.5685 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.03092, allocations: 0.7385 MB / 0.5692 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.03093, allocations: 0 / 0.5692 GB, free: 1.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.03101, allocations: 19.98 kB / 0.5692 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.03102, allocations: 12 kB / 0.5692 GB, free: 1.434 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.03291, allocations: 0.6128 MB / 0.5698 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.03672, allocations: 1.648 MB / 0.5714 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.03936, allocations: 0.6693 MB / 0.5721 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.04048, allocations: 289 kB / 0.5724 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.04157, allocations: 185.6 kB / 0.5725 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.0426, allocations: 379.7 kB / 0.5729 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=55): time 2.214e-06/0.0426, allocations: 0 / 0.5729 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.007178/0.04978, allocations: 1.39 MB / 0.5743 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.656e-05/0.04987, allocations: 107.3 kB / 0.5744 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008098/0.05068, allocations: 0.5651 MB / 0.5749 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.05075, allocations: 37.64 kB / 0.575 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.05111, allocations: 355.8 kB / 0.5753 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.05133, allocations: 198.4 kB / 0.5755 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.05161, allocations: 147.9 kB / 0.5756 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003782/0.05199, allocations: 0.5703 MB / 0.5762 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007823/0.05277, allocations: 237.2 kB / 0.5764 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.05381, allocations: 488.9 kB / 0.5769 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.05559, allocations: 0.6455 MB / 0.5775 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.05559, allocations: 0 / 0.5775 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003998/0.05959, allocations: 0.9611 MB / 0.5784 GB, free: 7.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.05961, allocations: 10.81 kB / 0.5785 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.05962, allocations: 4 kB / 0.5785 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.06142, allocations: 271.8 kB / 0.5787 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.06222, allocations: 143.8 kB / 0.5789 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.06833, allocations: 2.517 MB / 0.5813 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.06904, allocations: 78.17 kB / 0.5814 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.06912, allocations: 40 kB / 0.5814 GB, free: 4.508 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.0003791/0.0695, allocations: 228.5 kB / 0.5816 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/0.06969, allocations: 79.55 kB / 0.5817 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.07312, allocations: 0.9202 MB / 0.5826 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.07313, allocations: 8 kB / 0.5826 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.07313, allocations: 0 / 0.5826 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.07314, allocations: 3.984 kB / 0.5826 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.07741, allocations: 1.568 MB / 0.5842 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.07741, allocations: 0 / 0.5842 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/0.07813, allocations: 135.7 kB / 0.5843 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.07946, allocations: 195.5 kB / 0.5845 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/0.07953, allocations: 19.98 kB / 0.5845 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004433/0.08396, allocations: 2.308 MB / 0.5867 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.08396, allocations: 0 / 0.5867 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.08714, allocations: 0.9796 MB / 0.5877 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.08751, allocations: 139.3 kB / 0.5878 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.557e-05/0.0876, allocations: 15.94 kB / 0.5878 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.08815, allocations: 35.97 kB / 0.5879 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.08829, allocations: 52.56 kB / 0.5879 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.08835, allocations: 19.98 kB / 0.588 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004718/0.08883, allocations: 359 kB / 0.5883 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.08883, allocations: 0 / 0.5883 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008752/0.0897, allocations: 259.4 kB / 0.5885 GB, free: 12.98 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.003237/0.09294, allocations: 0.6049 MB / 0.5891 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002137/0.09508, allocations: 0.7997 MB / 0.5899 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09508, allocations: 0 / 0.5899 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.09619, allocations: 0.518 MB / 0.5904 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.09675, allocations: 96.44 kB / 0.5905 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.09914, allocations: 1.144 MB / 0.5916 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.0995, allocations: 290.2 kB / 0.5919 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00058/0.1001, allocations: 140.4 kB / 0.592 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.1004, allocations: 68.45 kB / 0.5921 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.1004, allocations: 0 / 0.5921 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of Templates: time 0.2083/0.3086, allocations: 11.02 MB / 0.6029 GB, free: 98.87 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: 6.637876635999419]