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.0009161/0.0009161, 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.000901/0.000901, 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.9777/0.9777, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001716/0.001716, allocations: 245.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.7391/0.7391, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.854e-06/1.854e-06, allocations: 0 / 462.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.557e-05, allocations: 4.125 kB / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.004709/0.004735, allocations: 3.645 MB / 466 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.009271, allocations: 3.733 MB / 469.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003165/0.009587, allocations: 15.88 kB / 469.7 MB, free: 11.29 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.0004265/0.01001, allocations: 123.4 kB / 469.8 MB, free: 11.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.01107, allocations: 492.7 kB / 470.3 MB, free: 10.69 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.01174, allocations: 392.9 kB / 470.7 MB, free: 10.3 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007035/0.01245, allocations: 0.8498 MB / 471.5 MB, free: 9.457 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.01266, allocations: 125.8 kB / 471.7 MB, free: 9.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005826/0.01324, allocations: 491 kB / 472.1 MB, free: 8.859 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.01361, allocations: 283.7 kB / 472.4 MB, free: 8.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.942e-05/0.01369, allocations: 73 kB / 472.5 MB, free: 8.512 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/0.01449, allocations: 0.5865 MB / 473.1 MB, free: 7.926 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01461, allocations: 183.4 kB / 473.3 MB, free: 7.746 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.01478, allocations: 227.4 kB / 473.5 MB, free: 7.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.016, allocations: 0.9655 MB / 474.4 MB, free: 6.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.016, allocations: 0 / 474.4 MB, free: 6.555 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.016, allocations: 5 kB / 474.5 MB, free: 6.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.01601, allocations: 0 / 474.5 MB, free: 6.551 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.001192/0.0172, allocations: 0.9487 MB / 475.4 MB, free: 5.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.01723, allocations: 12.75 kB / 475.4 MB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.01852, allocations: 378.3 kB / 475.8 MB, free: 5.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.01895, allocations: 349.6 kB / 476.1 MB, free: 4.848 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.01906, allocations: 195.8 kB / 476.3 MB, free: 4.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.01912, allocations: 44.38 kB / 476.4 MB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.01973, allocations: 0.5363 MB / 476.9 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01974, allocations: 3.422 kB / 476.9 MB, free: 4.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.01978, allocations: 20 kB / 476.9 MB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.01979, allocations: 12 kB / 476.9 MB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.02013, allocations: 236.3 kB / 477.2 MB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.02183, allocations: 1.087 MB / 478.2 MB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.02257, allocations: 367 kB / 478.6 MB, free: 2.289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.02276, allocations: 133.8 kB / 478.7 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/0.02322, allocations: 188 kB / 478.9 MB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.02353, allocations: 247.1 kB / 479.2 MB, free: 1.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 2.224e-06/0.02353, allocations: 0 / 479.2 MB, free: 1.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=56): time 0.004483/0.02802, allocations: 1.108 MB / 480.3 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.02806, allocations: 107.3 kB / 480.4 MB, free: 0.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.0283, allocations: 363.2 kB / 480.7 MB, free: 140 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.02835, allocations: 38.86 kB / 480.8 MB, free: 96 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.02847, allocations: 226.2 kB / 481 MB, free: 15.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.02884, allocations: 202.2 kB / 481.2 MB, free: 15.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.02898, allocations: 123.6 kB / 481.3 MB, free: 15.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.02907, allocations: 366.6 kB / 481.7 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.0292, allocations: 81.25 kB / 481.7 MB, free: 15.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.02941, allocations: 269.8 kB / 482 MB, free: 14.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.02979, allocations: 341.1 kB / 482.3 MB, free: 14.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.02979, allocations: 1.719 kB / 482.3 MB, free: 14.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002466/0.03226, allocations: 0.77 MB / 483.1 MB, free: 13.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.03227, allocations: 7.938 kB / 483.1 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.03228, allocations: 4 kB / 483.1 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.03506, allocations: 0.6233 MB / 483.7 MB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.03546, allocations: 145.3 kB / 483.9 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.03827, allocations: 1.795 MB / 485.7 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.03867, allocations: 68.77 kB / 485.7 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.03873, allocations: 28.52 kB / 485.8 MB, free: 10.91 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.0002157/0.03894, allocations: 150.3 kB / 485.9 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03904, allocations: 49.41 kB / 486 MB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.04082, allocations: 0.6596 MB / 486.6 MB, free: 10.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.04082, allocations: 8 kB / 486.6 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.04083, allocations: 1.219 kB / 486.6 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.04083, allocations: 3.984 kB / 486.6 MB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.04292, allocations: 0.9798 MB / 487.6 MB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.04293, allocations: 0 / 487.6 MB, free: 9.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.04339, allocations: 134 kB / 487.8 MB, free: 8.922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.04482, allocations: 337.8 kB / 488.1 MB, free: 8.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.089e-05/0.04487, allocations: 19.97 kB / 488.1 MB, free: 8.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.04685, allocations: 1.543 MB / 489.6 MB, free: 6.961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.04685, allocations: 3.984 kB / 489.7 MB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.0483, allocations: 0.6227 MB / 490.3 MB, free: 6.324 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.04851, allocations: 99.44 kB / 490.4 MB, free: 6.227 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.04858, allocations: 13.64 kB / 490.4 MB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.04887, allocations: 30.48 kB / 490.4 MB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.04897, allocations: 52.53 kB / 490.5 MB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.04902, allocations: 18.23 kB / 490.5 MB, free: 6.121 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.04918, allocations: 152.7 kB / 490.6 MB, free: 5.969 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04918, allocations: 0 / 490.6 MB, free: 5.969 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000757/0.04994, allocations: 279.2 kB / 490.9 MB, free: 5.695 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.001703/0.05164, allocations: 0.6969 MB / 491.6 MB, free: 5.336 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.05286, allocations: 0.509 MB / 492.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.05287, allocations: 4 kB / 492.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.05345, allocations: 350.8 kB / 492.5 MB, free: 4.453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.05384, allocations: 93.28 kB / 492.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.05562, allocations: 0.9995 MB / 493.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.05574, allocations: 146 kB / 493.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004529/0.05619, allocations: 124.2 kB / 493.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.05659, allocations: 163.3 kB / 494 MB, free: 2.914 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0566, allocations: 0 / 494 MB, free: 2.914 MB / 442.7 MB Notification: Performance of Templates: time 0.02027/0.07687, allocations: 13.1 MB / 0.4952 GB, free: 6.07 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8524347757920623]