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.00151/0.00151, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001457/0.001457, allocations: 222 kB / 23 MB, free: 4.91 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.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002556/0.002556, allocations: 296.3 kB / 313.5 MB, free: 2.719 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 14.54 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.002903/0.002903, allocations: 102.4 kB / 0.7407 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1789, allocations: 95.38 MB / 0.8338 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005574/0.1845, allocations: 3.471 MB / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005774/0.1903, allocations: 3.514 MB / 0.8407 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003251/0.1906, allocations: 11.88 kB / 0.8407 GB, free: 0.8125 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.0004829/0.1911, allocations: 126.9 kB / 0.8408 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.1923, allocations: 0.4896 MB / 0.8413 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.1932, allocations: 398.2 kB / 0.8417 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.1941, allocations: 0.8268 MB / 0.8425 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002582/0.1943, allocations: 131.1 kB / 0.8426 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.1948, allocations: 350.8 kB / 0.8429 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.1953, allocations: 314.6 kB / 0.8432 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1954, allocations: 72 kB / 0.8433 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009993/0.1964, allocations: 0.5541 MB / 0.8438 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.1966, allocations: 179.5 kB / 0.844 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.1969, allocations: 274.6 kB / 0.8443 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.1983, allocations: 1.195 MB / 0.8454 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1984, allocations: 0 / 0.8454 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1984, allocations: 0 / 0.8454 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.1984, allocations: 4 kB / 0.8454 GB, free: 11.91 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.002235/0.2006, allocations: 0.9847 MB / 0.8464 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2006, allocations: 9.344 kB / 0.8464 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.2044, allocations: 0.6443 MB / 0.847 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.2059, allocations: 0.5738 MB / 0.8476 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.2061, allocations: 203.3 kB / 0.8478 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.2061, allocations: 44 kB / 0.8478 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2076, allocations: 0.7623 MB / 0.8486 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2076, allocations: 0 / 0.8486 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.2077, allocations: 16 kB / 0.8486 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.2077, allocations: 12 kB / 0.8486 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.2094, allocations: 0.7026 MB / 0.8493 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/0.2129, allocations: 1.638 MB / 0.8509 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.2155, allocations: 0.7821 MB / 0.8516 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008389/0.2164, allocations: 326.1 kB / 0.852 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.2175, allocations: 201.5 kB / 0.8522 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009742/0.2185, allocations: 437.9 kB / 0.8526 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=56): time 2.454e-06/0.2185, allocations: 0 / 0.8526 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.007733/0.2262, allocations: 1.461 MB / 0.854 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.088e-05/0.2263, allocations: 111.2 kB / 0.8541 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.2269, allocations: 422 kB / 0.8545 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.318e-05/0.2269, allocations: 37.7 kB / 0.8545 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.2272, allocations: 273.1 kB / 0.8548 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2274, allocations: 206.2 kB / 0.855 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2276, allocations: 122.2 kB / 0.8551 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2278, allocations: 358.8 kB / 0.8555 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007482/0.2285, allocations: 293.1 kB / 0.8557 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008966/0.2294, allocations: 476.8 kB / 0.8562 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.231, allocations: 0.7016 MB / 0.8569 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.231, allocations: 0 / 0.8569 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004983/0.236, allocations: 1.099 MB / 0.8579 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.236, allocations: 7.984 kB / 0.858 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.236, allocations: 4.344 kB / 0.858 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/0.24, allocations: 412.4 kB / 0.8584 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.2408, allocations: 155.8 kB / 0.8585 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/0.2449, allocations: 2.018 MB / 0.8605 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.2457, allocations: 84.86 kB / 0.8606 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.2457, allocations: 31.97 kB / 0.8606 GB, free: 11.9 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.0003558/0.2461, allocations: 215.6 kB / 0.8608 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.2462, allocations: 55.62 kB / 0.8608 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.2495, allocations: 1.074 MB / 0.8619 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.2495, allocations: 8 kB / 0.8619 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.2495, allocations: 0 / 0.8619 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.2495, allocations: 11.92 kB / 0.8619 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003876/0.2534, allocations: 1.594 MB / 0.8635 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2534, allocations: 0 / 0.8635 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.2541, allocations: 139.8 kB / 0.8636 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.2551, allocations: 148.6 kB / 0.8637 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-05/0.2552, allocations: 23.98 kB / 0.8638 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002597/0.2578, allocations: 1.782 MB / 0.8655 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2578, allocations: 0 / 0.8655 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.2607, allocations: 1.023 MB / 0.8665 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.2611, allocations: 135.4 kB / 0.8666 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.2612, allocations: 19.94 kB / 0.8667 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/0.2617, allocations: 51.88 kB / 0.8667 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.2618, allocations: 48.66 kB / 0.8667 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.2619, allocations: 31.97 kB / 0.8668 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003638/0.2623, allocations: 291.1 kB / 0.8671 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2623, allocations: 0 / 0.8671 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008186/0.2631, allocations: 263.3 kB / 0.8673 GB, free: 4.828 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.0019/0.265, allocations: 0.5984 MB / 0.8679 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002353/0.2673, allocations: 0.8632 MB / 0.8687 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2673, allocations: 0.5 kB / 0.8687 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2685, allocations: 0.502 MB / 0.8692 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.269, allocations: 68.39 kB / 0.8693 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2714, allocations: 1.297 MB / 0.8706 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2717, allocations: 286.2 kB / 0.8708 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.272, allocations: 79.38 kB / 0.8709 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.272, allocations: 4 kB / 0.8709 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of Templates: time 0.01835/0.2904, allocations: 13.39 MB / 0.884 GB, free: 3.863 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.366079299710691] Failed to read output from testmodel.py, exit status != 0: 0.29781607491895556 0.31147027099999997 0.11026895099999995 Calling exit ...