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.001232/0.001232, allocations: 102.3 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001361/0.001361, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 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.002441/0.002441, allocations: 286.2 kB / 313.5 MB, free: 2.832 MB / 238.1 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.167/1.167, allocations: 180.6 MB / 0.5377 GB, free: 12.94 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002766/0.002766, allocations: 93.7 kB / 0.7408 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1559, allocations: 95.39 MB / 0.8339 GB, free: 8.195 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005373/0.1612, allocations: 3.774 MB / 0.8376 GB, free: 4.398 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005879/0.1671, allocations: 3.767 MB / 0.8413 GB, free: 0.6172 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.1675, allocations: 11.88 kB / 0.8413 GB, free: 0.6055 MB / 0.5763 GB [/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.0005212/0.168, allocations: 130 kB / 0.8414 GB, free: 492 kB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1693, allocations: 0.4936 MB / 0.8419 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009424/0.1702, allocations: 399.9 kB / 0.8423 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.1713, allocations: 0.8229 MB / 0.8431 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.1716, allocations: 139.1 kB / 0.8432 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007497/0.1724, allocations: 350.8 kB / 0.8436 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.1731, allocations: 350.6 kB / 0.8439 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1732, allocations: 72 kB / 0.844 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.1748, allocations: 0.5814 MB / 0.8445 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.1751, allocations: 179.4 kB / 0.8447 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.1755, allocations: 338.3 kB / 0.845 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.1778, allocations: 1.195 MB / 0.8462 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.1778, allocations: 0 / 0.8462 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.474e-06/0.1778, allocations: 0 / 0.8462 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.1778, allocations: 0 / 0.8462 GB, free: 11.57 MB / 0.5919 GB 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.002827/0.1806, allocations: 0.9886 MB / 0.8472 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.1807, allocations: 13.34 kB / 0.8472 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.1846, allocations: 0.6365 MB / 0.8478 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1862, allocations: 0.5738 MB / 0.8484 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.1864, allocations: 203.3 kB / 0.8485 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.41e-05/0.1865, allocations: 47.94 kB / 0.8486 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1879, allocations: 0.6831 MB / 0.8493 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.188, allocations: 0 / 0.8493 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.188, allocations: 16 kB / 0.8493 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.188, allocations: 16 kB / 0.8493 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.1898, allocations: 0.7104 MB / 0.85 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.1936, allocations: 1.856 MB / 0.8518 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.1962, allocations: 0.7797 MB / 0.8526 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.1971, allocations: 330.1 kB / 0.8529 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.1982, allocations: 197.5 kB / 0.8531 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009114/0.1991, allocations: 426 kB / 0.8535 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 2.265e-06/0.1991, allocations: 0 / 0.8535 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.007318/0.2064, allocations: 1.469 MB / 0.8549 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.2065, allocations: 111.3 kB / 0.855 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.207, allocations: 414 kB / 0.8554 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.2071, allocations: 37.64 kB / 0.8554 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.2073, allocations: 281.2 kB / 0.8557 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.2075, allocations: 202.3 kB / 0.8559 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.2077, allocations: 122.2 kB / 0.856 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.2079, allocations: 362.8 kB / 0.8564 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007223/0.2086, allocations: 289.1 kB / 0.8566 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/0.2095, allocations: 433.4 kB / 0.8571 GB, free: 156 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.211, allocations: 0.6939 MB / 0.8577 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.211, allocations: 0 / 0.8577 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004786/0.2158, allocations: 1.099 MB / 0.8588 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2158, allocations: 8.344 kB / 0.8588 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.2158, allocations: 8 kB / 0.8588 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003709/0.2196, allocations: 408.4 kB / 0.8592 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.2204, allocations: 159.7 kB / 0.8594 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004019/0.2244, allocations: 2.076 MB / 0.8614 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.2251, allocations: 91.61 kB / 0.8615 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.2252, allocations: 31.97 kB / 0.8615 GB, free: 11.41 MB / 0.6075 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): 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.0003496/0.2255, allocations: 205.7 kB / 0.8617 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.2257, allocations: 51.67 kB / 0.8618 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.2289, allocations: 1.062 MB / 0.8628 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.2289, allocations: 11.94 kB / 0.8628 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2289, allocations: 0 / 0.8628 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.2289, allocations: 7.984 kB / 0.8628 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003968/0.2329, allocations: 1.761 MB / 0.8645 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2329, allocations: 0 / 0.8645 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007152/0.2336, allocations: 135.8 kB / 0.8647 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009808/0.2346, allocations: 156.6 kB / 0.8648 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.2346, allocations: 19.92 kB / 0.8648 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.2372, allocations: 1.821 MB / 0.8666 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2372, allocations: 8 kB / 0.8666 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.2401, allocations: 1.035 MB / 0.8676 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.2404, allocations: 139.3 kB / 0.8678 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.2405, allocations: 12 kB / 0.8678 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005847/0.2411, allocations: 47.94 kB / 0.8678 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.2412, allocations: 60.5 kB / 0.8679 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.2413, allocations: 19.98 kB / 0.8679 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000367/0.2417, allocations: 295.1 kB / 0.8682 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2417, allocations: 0 / 0.8682 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008187/0.2425, allocations: 259.4 kB / 0.8684 GB, free: 4.117 MB / 0.6075 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 (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.001808/0.2443, allocations: 0.5655 MB / 0.869 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0023/0.2466, allocations: 0.8636 MB / 0.8698 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2466, allocations: 0 / 0.8698 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.2477, allocations: 0.5061 MB / 0.8703 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2481, allocations: 65.58 kB / 0.8704 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.2506, allocations: 1.285 MB / 0.8716 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.2511, allocations: 0.8889 MB / 0.8725 GB, free: 12 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.2514, allocations: 79.38 kB / 0.8726 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.2514, allocations: 0 / 0.8726 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Templates: time 0.01817/0.2696, allocations: 13.18 MB / 0.8854 GB, free: 2.781 MB / 0.6231 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.235531846061349] Failed to read output from testmodel.py, exit status != 0: 0.2773032549303025 0.29207632099999997 0.111290442 Calling exit ...