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.001601/0.001601, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001729/0.001729, allocations: 215 kB / 22.25 MB, free: 5.262 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.793 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.002682/0.002682, allocations: 288.5 kB / 312.7 MB, free: 2.633 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.318/1.318, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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.002926/0.002926, allocations: 102.6 kB / 0.74 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1676, allocations: 95.38 MB / 0.8331 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005468/0.1731, allocations: 3.467 MB / 0.8365 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006283/0.1794, allocations: 3.518 MB / 0.8399 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003885/0.1798, allocations: 15.88 kB / 0.8399 GB, free: 0.8281 MB / 0.5762 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.0005747/0.1803, allocations: 124.9 kB / 0.84 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1818, allocations: 0.4935 MB / 0.8405 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.1827, allocations: 402.2 kB / 0.8409 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009572/0.1837, allocations: 0.819 MB / 0.8417 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.1839, allocations: 131.1 kB / 0.8418 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005236/0.1845, allocations: 358.8 kB / 0.8422 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.185, allocations: 318.6 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.1851, allocations: 72 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.1862, allocations: 0.5463 MB / 0.8431 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.1864, allocations: 175.5 kB / 0.8433 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.1867, allocations: 270.7 kB / 0.8435 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.1882, allocations: 1.207 MB / 0.8447 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1882, allocations: 4 kB / 0.8447 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1882, allocations: 0 / 0.8447 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.1882, allocations: 3.938 kB / 0.8447 GB, free: 11.92 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.002205/0.1904, allocations: 0.9769 MB / 0.8456 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1904, allocations: 13.34 kB / 0.8457 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003997/0.1944, allocations: 0.6404 MB / 0.8463 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/0.1959, allocations: 0.5738 MB / 0.8468 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.1961, allocations: 203.3 kB / 0.847 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1962, allocations: 48 kB / 0.8471 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1978, allocations: 0.7584 MB / 0.8478 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1978, allocations: 0 / 0.8478 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.1979, allocations: 20 kB / 0.8478 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.1979, allocations: 12 kB / 0.8479 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.1998, allocations: 0.6947 MB / 0.8485 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.2034, allocations: 1.634 MB / 0.8501 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.2062, allocations: 0.7904 MB / 0.8509 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008848/0.2071, allocations: 326.1 kB / 0.8512 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001205/0.2083, allocations: 197.5 kB / 0.8514 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.2093, allocations: 429.9 kB / 0.8518 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 2.515e-06/0.2093, allocations: 0 / 0.8518 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.00837/0.2177, allocations: 1.461 MB / 0.8532 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.997e-05/0.2178, allocations: 115.2 kB / 0.8534 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005814/0.2184, allocations: 425.9 kB / 0.8538 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.2184, allocations: 37.7 kB / 0.8538 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.2187, allocations: 277.1 kB / 0.8541 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.2189, allocations: 198.3 kB / 0.8542 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.2191, allocations: 126.2 kB / 0.8544 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2193, allocations: 358.8 kB / 0.8547 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.2201, allocations: 297.1 kB / 0.855 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009647/0.2211, allocations: 476.8 kB / 0.8554 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.2229, allocations: 0.6977 MB / 0.8561 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2229, allocations: 0 / 0.8561 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005465/0.2283, allocations: 1.103 MB / 0.8572 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.2283, allocations: 10.34 kB / 0.8572 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2284, allocations: 4 kB / 0.8572 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004297/0.2327, allocations: 412.7 kB / 0.8576 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.2335, allocations: 159.8 kB / 0.8578 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.238, allocations: 2.022 MB / 0.8597 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000734/0.2387, allocations: 87.66 kB / 0.8598 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.2388, allocations: 31.97 kB / 0.8599 GB, free: 11.91 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.0003473/0.2391, allocations: 209.6 kB / 0.8601 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2393, allocations: 59.62 kB / 0.8601 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.2429, allocations: 1.066 MB / 0.8612 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2429, allocations: 4 kB / 0.8612 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.123e-06/0.2429, allocations: 0 / 0.8612 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.2429, allocations: 11.92 kB / 0.8612 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.2472, allocations: 1.59 MB / 0.8627 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.2472, allocations: 0 / 0.8627 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.248, allocations: 143.8 kB / 0.8629 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.2491, allocations: 156.6 kB / 0.863 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.2492, allocations: 19.98 kB / 0.863 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.2519, allocations: 1.775 MB / 0.8648 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2519, allocations: 0 / 0.8648 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00321/0.2551, allocations: 1.023 MB / 0.8658 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.2555, allocations: 135.4 kB / 0.8659 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.2556, allocations: 23.94 kB / 0.8659 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.2562, allocations: 51.94 kB / 0.866 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2563, allocations: 52.5 kB / 0.866 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.2564, allocations: 23.98 kB / 0.866 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004133/0.2568, allocations: 287.1 kB / 0.8663 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2568, allocations: 0 / 0.8663 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008821/0.2577, allocations: 267.3 kB / 0.8666 GB, free: 4.848 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.002002/0.2597, allocations: 0.5903 MB / 0.8671 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002491/0.2622, allocations: 0.8635 MB / 0.868 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2622, allocations: 0 / 0.868 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.2634, allocations: 0.5062 MB / 0.8685 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.2639, allocations: 86.97 kB / 0.8686 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.2665, allocations: 1.256 MB / 0.8698 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2669, allocations: 278.2 kB / 0.87 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006602/0.2675, allocations: 152.5 kB / 0.8702 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.2678, allocations: 75.38 kB / 0.8703 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-06/0.2678, allocations: 0 / 0.8703 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of Templates: time 0.02175/0.2895, allocations: 11.23 MB / 0.8812 GB, free: 6 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: 7.009723192080855] Failed to read output from testmodel.py, exit status != 0: 0.29699544608592987 0.31265009000000005 0.12127162200000001 Calling exit ...