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.001605/0.001605, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001723/0.001723, allocations: 169.5 kB / 22.46 MB, free: 5.363 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.489/1.489, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.002403/0.002403, allocations: 245.6 kB / 259.4 MB, free: 488 kB / 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.104/1.104, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6467 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.626e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.005265/0.005292, allocations: 3.474 MB / 0.6501 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2622/0.2675, allocations: 3.512 MB / 0.6536 GB, free: 53.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.2678, allocations: 12.09 kB / 0.6536 GB, free: 53.21 MB / 0.5606 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.0004685/0.2683, allocations: 126.2 kB / 0.6537 GB, free: 53.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.2693, allocations: 0.5139 MB / 0.6542 GB, free: 53.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.2699, allocations: 387.4 kB / 0.6546 GB, free: 53 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.2705, allocations: 0.8463 MB / 0.6554 GB, free: 52.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.2707, allocations: 131 kB / 0.6555 GB, free: 52.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.2712, allocations: 496 kB / 0.656 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.2716, allocations: 275.3 kB / 0.6563 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.2716, allocations: 75.89 kB / 0.6563 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007815/0.2724, allocations: 0.5412 MB / 0.6569 GB, free: 52.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.2726, allocations: 183 kB / 0.657 GB, free: 52.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.2728, allocations: 222.3 kB / 0.6572 GB, free: 52.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.2739, allocations: 1.303 MB / 0.6585 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2739, allocations: 2.375 kB / 0.6585 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2739, allocations: 0 / 0.6585 GB, free: 52.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2739, allocations: 0 / 0.6585 GB, free: 52.1 MB / 0.5606 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.001895/0.2758, allocations: 0.9832 MB / 0.6595 GB, free: 51.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2759, allocations: 10.19 kB / 0.6595 GB, free: 51.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.2798, allocations: 0.6437 MB / 0.6601 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.281, allocations: 0.5652 MB / 0.6607 GB, free: 51.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.2812, allocations: 201.6 kB / 0.6609 GB, free: 50.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.2812, allocations: 48.69 kB / 0.6609 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2825, allocations: 0.7516 MB / 0.6616 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.2825, allocations: 0 / 0.6616 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.2826, allocations: 26.44 kB / 0.6617 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2826, allocations: 9.406 kB / 0.6617 GB, free: 50.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.2842, allocations: 0.7073 MB / 0.6624 GB, free: 50.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.2871, allocations: 1.627 MB / 0.664 GB, free: 49.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.2896, allocations: 0.7867 MB / 0.6647 GB, free: 49.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.2904, allocations: 330.4 kB / 0.665 GB, free: 49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.2915, allocations: 193.9 kB / 0.6652 GB, free: 48.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008802/0.2923, allocations: 426.9 kB / 0.6656 GB, free: 48.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=56): time 2.294e-06/0.2923, allocations: 3.844 kB / 0.6656 GB, free: 48.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56): time 0.007889/0.3002, allocations: 1.47 MB / 0.6671 GB, free: 48.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3003, allocations: 113.2 kB / 0.6672 GB, free: 48.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.3008, allocations: 425.5 kB / 0.6676 GB, free: 48.06 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.3008, allocations: 36.61 kB / 0.6676 GB, free: 48.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.301, allocations: 271.2 kB / 0.6679 GB, free: 47.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3011, allocations: 202.5 kB / 0.6681 GB, free: 47.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.3013, allocations: 121.5 kB / 0.6682 GB, free: 47.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.3014, allocations: 361 kB / 0.6685 GB, free: 47.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007496/0.3022, allocations: 294.8 kB / 0.6688 GB, free: 47.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.303, allocations: 478.1 kB / 0.6693 GB, free: 46.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.3046, allocations: 0.7022 MB / 0.67 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3046, allocations: 0 / 0.67 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005178/0.3098, allocations: 1.096 MB / 0.671 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3098, allocations: 12.78 kB / 0.671 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3098, allocations: 2.656 kB / 0.671 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.314, allocations: 410.9 kB / 0.6714 GB, free: 46.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009164/0.3149, allocations: 159.2 kB / 0.6716 GB, free: 46.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003875/0.3188, allocations: 2.016 MB / 0.6735 GB, free: 44.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008684/0.3196, allocations: 92.2 kB / 0.6736 GB, free: 44.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.3197, allocations: 30.81 kB / 0.6737 GB, free: 44.44 MB / 0.5606 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.0003732/0.3201, allocations: 205.8 kB / 0.6739 GB, free: 44.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3202, allocations: 56.91 kB / 0.6739 GB, free: 44.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003502/0.3237, allocations: 1.07 MB / 0.675 GB, free: 43.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.3238, allocations: 8.625 kB / 0.675 GB, free: 43.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3238, allocations: 0 / 0.675 GB, free: 43.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.3238, allocations: 3.75 kB / 0.675 GB, free: 43.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004764/0.3285, allocations: 1.596 MB / 0.6765 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3286, allocations: 0 / 0.6765 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.3294, allocations: 140.5 kB / 0.6767 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.3306, allocations: 151.4 kB / 0.6768 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.764e-05/0.3307, allocations: 21.17 kB / 0.6768 GB, free: 43.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.3331, allocations: 1.784 MB / 0.6786 GB, free: 41.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3331, allocations: 7.031 kB / 0.6786 GB, free: 41.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.3364, allocations: 1.025 MB / 0.6796 GB, free: 41.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.3367, allocations: 136.7 kB / 0.6797 GB, free: 41.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.3368, allocations: 12.25 kB / 0.6797 GB, free: 41.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.3375, allocations: 58.2 kB / 0.6798 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3377, allocations: 47.08 kB / 0.6798 GB, free: 41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.3377, allocations: 28.39 kB / 0.6799 GB, free: 40.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000386/0.3381, allocations: 295.1 kB / 0.6801 GB, free: 40.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3381, allocations: 0 / 0.6801 GB, free: 40.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009446/0.3391, allocations: 257.5 kB / 0.6804 GB, free: 40.78 MB / 0.5606 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.001981/0.341, allocations: 0.6065 MB / 0.681 GB, free: 40.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.3436, allocations: 0.8644 MB / 0.6818 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3436, allocations: 0 / 0.6818 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.3448, allocations: 0.5057 MB / 0.6823 GB, free: 39.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.3454, allocations: 69.52 kB / 0.6824 GB, free: 39.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3477, allocations: 1.203 MB / 0.6835 GB, free: 39.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3481, allocations: 289.8 kB / 0.6838 GB, free: 39.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006057/0.3487, allocations: 149.4 kB / 0.684 GB, free: 39.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.3489, allocations: 75.86 kB / 0.684 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.3489, allocations: 0 / 0.684 GB, free: 39.11 MB / 0.5606 GB Notification: Performance of Templates: time 0.02126/0.3702, allocations: 10.65 MB / 0.6944 GB, free: 36.73 MB / 0.5606 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: 6.6790447272360325] Failed to read output from testmodel.py, exit status != 0: 0.378283005207777 0.388873808 0.112407897 Calling exit ...