Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.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.0008594/0.0008594, allocations: 80.94 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.0008753/0.0008753, 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.9255/0.9255, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.001656/0.001656, allocations: 242.8 kB / 260.5 MB, free: 12.69 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.6906/0.6906, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0.5156 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.667e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.003866/0.003883, allocations: 3.592 MB / 465.9 MB, free: 14.55 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.007977, allocations: 3.734 MB / 469.6 MB, free: 11.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.008221, allocations: 15.88 kB / 469.6 MB, free: 11.32 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.0003938/0.008614, allocations: 124.3 kB / 469.7 MB, free: 11.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.009788, allocations: 0.5101 MB / 470.2 MB, free: 10.69 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.01036, allocations: 393.6 kB / 470.6 MB, free: 10.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005668/0.01093, allocations: 0.8456 MB / 471.5 MB, free: 9.465 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.01111, allocations: 133.4 kB / 471.6 MB, free: 9.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.01154, allocations: 487.6 kB / 472.1 MB, free: 8.863 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003097/0.01185, allocations: 287.8 kB / 472.4 MB, free: 8.586 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.218e-05/0.01193, allocations: 76 kB / 472.4 MB, free: 8.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005893/0.01251, allocations: 0.5537 MB / 473 MB, free: 7.957 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.01264, allocations: 187.4 kB / 473.2 MB, free: 7.773 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.0128, allocations: 223.4 kB / 473.4 MB, free: 7.555 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.01361, allocations: 0.9588 MB / 474.4 MB, free: 6.594 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01361, allocations: 0 / 474.4 MB, free: 6.594 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01361, allocations: 4 kB / 474.4 MB, free: 6.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.01362, allocations: 0.7812 kB / 474.4 MB, free: 6.59 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001185/0.0148, allocations: 0.9602 MB / 475.3 MB, free: 5.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.01483, allocations: 12.75 kB / 475.3 MB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.01601, allocations: 376.1 kB / 475.7 MB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.01639, allocations: 347.6 kB / 476 MB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.0165, allocations: 195.8 kB / 476.2 MB, free: 4.652 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.494e-05/0.01657, allocations: 48.38 kB / 476.3 MB, free: 4.605 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.01713, allocations: 0.5303 MB / 476.8 MB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.01715, allocations: 0 / 476.8 MB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.01719, allocations: 20 kB / 476.8 MB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.0172, allocations: 12.75 kB / 476.8 MB, free: 4.016 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.01752, allocations: 245.2 kB / 477.1 MB, free: 3.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.01935, allocations: 1.081 MB / 478.2 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.02003, allocations: 372.5 kB / 478.5 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.02022, allocations: 135 kB / 478.7 MB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004333/0.02065, allocations: 185 kB / 478.8 MB, free: 2.016 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.02092, allocations: 248.4 kB / 479.1 MB, free: 1.762 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 2.144e-06/0.02092, allocations: 0 / 479.1 MB, free: 1.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.004018/0.02494, allocations: 1.109 MB / 480.2 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.02498, allocations: 111.2 kB / 480.3 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.0252, allocations: 355.8 kB / 480.6 MB, free: 176 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.02524, allocations: 37.7 kB / 480.7 MB, free: 132 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.02535, allocations: 231.5 kB / 480.9 MB, free: 15.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.02545, allocations: 194.3 kB / 481.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.02559, allocations: 126.2 kB / 481.2 MB, free: 15.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.02568, allocations: 368.2 kB / 481.6 MB, free: 15.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.02581, allocations: 77.25 kB / 481.7 MB, free: 15.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.02601, allocations: 269.3 kB / 481.9 MB, free: 14.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.02636, allocations: 341.5 kB / 482.2 MB, free: 14.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.02637, allocations: 0 / 482.2 MB, free: 14.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002295/0.02866, allocations: 0.7678 MB / 483 MB, free: 13.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.02868, allocations: 9.125 kB / 483 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.02869, allocations: 7.984 kB / 483 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002612/0.0313, allocations: 0.6307 MB / 483.7 MB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.03162, allocations: 128.6 kB / 483.8 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.03412, allocations: 1.787 MB / 485.6 MB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.03438, allocations: 75.08 kB / 485.6 MB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.03442, allocations: 28.72 kB / 485.7 MB, free: 10.95 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {3} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.03458, allocations: 154.1 kB / 485.8 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.03465, allocations: 47.95 kB / 485.9 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.03588, allocations: 0.665 MB / 486.5 MB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.03589, allocations: 4 kB / 486.5 MB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.03589, allocations: 0 / 486.5 MB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.0359, allocations: 7.984 kB / 486.6 MB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.03742, allocations: 0.9712 MB / 487.5 MB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03743, allocations: 2.219 kB / 487.5 MB, free: 9.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002958/0.03772, allocations: 123.8 kB / 487.6 MB, free: 8.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.03878, allocations: 345.9 kB / 488 MB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.03881, allocations: 13.02 kB / 488 MB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.04011, allocations: 1.535 MB / 489.5 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.04011, allocations: 0 / 489.5 MB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.04115, allocations: 0.6279 MB / 490.2 MB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.0413, allocations: 103 kB / 490.3 MB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.04135, allocations: 19.23 kB / 490.3 MB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.04155, allocations: 28.06 kB / 490.3 MB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.712e-05/0.04163, allocations: 52.55 kB / 490.4 MB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.04166, allocations: 19.97 kB / 490.4 MB, free: 6.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.04178, allocations: 145.2 kB / 490.5 MB, free: 6.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04178, allocations: 1.156 kB / 490.5 MB, free: 6.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005778/0.04235, allocations: 271.3 kB / 490.8 MB, free: 5.762 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 (67): * Single equations (assignments): 65 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.04389, allocations: 0.6936 MB / 491.5 MB, free: 5.402 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008894/0.04478, allocations: 0.51 MB / 492 MB, free: 4.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.04479, allocations: 4 kB / 492 MB, free: 4.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007322/0.04552, allocations: 357.4 kB / 492.3 MB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.0458, allocations: 88.81 kB / 492.4 MB, free: 4.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.04715, allocations: 1.01 MB / 493.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.166e-05/0.04723, allocations: 136.8 kB / 493.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.04754, allocations: 131.8 kB / 493.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.04782, allocations: 159.3 kB / 493.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04782, allocations: 0 / 493.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of Templates: time 0.0145/0.06232, allocations: 13.1 MB / 0.4951 GB, free: 6.129 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.896211232058704]