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.0008135/0.0008135, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008189/0.0008189, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8813/0.8813, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.00145/0.00145, allocations: 238.1 kB / 260.2 MB, free: 13.03 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.7082/0.7082, allocations: 138.4 MB / 455.1 MB, free: 29.96 MB / 410.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 3.046e-06/3.046e-06, allocations: 0 / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.869e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexMPP): time 0.2687/0.2687, allocations: 3.465 MB / 0.6509 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0037/0.2724, allocations: 3.517 MB / 0.6543 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.2728, allocations: 14.62 kB / 0.6543 GB, free: 53.66 MB / 0.5573 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.0004884/0.2732, allocations: 121.5 kB / 0.6544 GB, free: 53.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.2744, allocations: 0.5102 MB / 0.6549 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000734/0.2751, allocations: 392 kB / 0.6553 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.2758, allocations: 0.843 MB / 0.6561 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.276, allocations: 123 kB / 0.6562 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005261/0.2765, allocations: 0.4936 MB / 0.6567 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.2769, allocations: 274.4 kB / 0.657 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.769e-05/0.277, allocations: 70.16 kB / 0.657 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000907/0.2779, allocations: 0.5512 MB / 0.6576 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.278, allocations: 182.4 kB / 0.6578 GB, free: 52 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.2782, allocations: 224.1 kB / 0.658 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.2794, allocations: 1.291 MB / 0.6592 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2794, allocations: 0.6562 kB / 0.6592 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2794, allocations: 0 / 0.6592 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2794, allocations: 0 / 0.6592 GB, free: 51.38 MB / 0.5573 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.001465/0.2809, allocations: 0.9776 MB / 0.6602 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2809, allocations: 15.38 kB / 0.6602 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.2828, allocations: 0.6405 MB / 0.6608 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.2836, allocations: 0.5722 MB / 0.6614 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.2837, allocations: 201.1 kB / 0.6616 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.2838, allocations: 42.72 kB / 0.6616 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.2847, allocations: 0.7619 MB / 0.6624 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2847, allocations: 0 / 0.6624 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.2848, allocations: 21.19 kB / 0.6624 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2848, allocations: 12.5 kB / 0.6624 GB, free: 49.72 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009863/0.2858, allocations: 0.7068 MB / 0.6631 GB, free: 49.51 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.2878, allocations: 1.644 MB / 0.6647 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.2892, allocations: 0.7757 MB / 0.6655 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.2897, allocations: 319.8 kB / 0.6658 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.2903, allocations: 200.8 kB / 0.6659 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.2908, allocations: 432.4 kB / 0.6664 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=56): time 4.388e-06/0.2908, allocations: 1.734 kB / 0.6664 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56): time 0.003808/0.2946, allocations: 1.457 MB / 0.6678 GB, free: 47.66 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.2947, allocations: 125.1 kB / 0.6679 GB, free: 47.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.2951, allocations: 417.5 kB / 0.6683 GB, free: 47.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.2951, allocations: 39.11 kB / 0.6683 GB, free: 47.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2952, allocations: 277.3 kB / 0.6686 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.2953, allocations: 195.5 kB / 0.6688 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2954, allocations: 125.1 kB / 0.6689 GB, free: 46.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.2955, allocations: 358.8 kB / 0.6693 GB, free: 46.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.2959, allocations: 293.5 kB / 0.6695 GB, free: 46.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.2963, allocations: 486.3 kB / 0.67 GB, free: 46.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.2972, allocations: 0.6893 MB / 0.6707 GB, free: 45.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2972, allocations: 3.938 kB / 0.6707 GB, free: 45.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002467/0.2997, allocations: 1.102 MB / 0.6718 GB, free: 45.38 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2997, allocations: 3.688 kB / 0.6718 GB, free: 45.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2997, allocations: 4.344 kB / 0.6718 GB, free: 45.38 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.3015, allocations: 411.5 kB / 0.6722 GB, free: 45.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004294/0.3019, allocations: 160.3 kB / 0.6723 GB, free: 45.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.304, allocations: 2.023 MB / 0.6743 GB, free: 43.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.3044, allocations: 92.41 kB / 0.6744 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.3045, allocations: 33.27 kB / 0.6744 GB, free: 43.68 MB / 0.5573 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.0002657/0.3048, allocations: 207 kB / 0.6746 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.3048, allocations: 60.72 kB / 0.6747 GB, free: 43.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.3066, allocations: 1.061 MB / 0.6757 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3066, allocations: 6.688 kB / 0.6757 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3066, allocations: 6.688 kB / 0.6757 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3066, allocations: 3.422 kB / 0.6757 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.3087, allocations: 1.602 MB / 0.6773 GB, free: 42.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3087, allocations: 0.9844 kB / 0.6773 GB, free: 42.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.3091, allocations: 144.2 kB / 0.6774 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.3096, allocations: 143 kB / 0.6775 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.3097, allocations: 22.08 kB / 0.6776 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.3111, allocations: 1.783 MB / 0.6793 GB, free: 40.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3111, allocations: 4.75 kB / 0.6793 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3128, allocations: 1.021 MB / 0.6803 GB, free: 40.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.313, allocations: 140.5 kB / 0.6804 GB, free: 40.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3131, allocations: 12.23 kB / 0.6805 GB, free: 40.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.3133, allocations: 49.58 kB / 0.6805 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.3135, allocations: 55.59 kB / 0.6806 GB, free: 40.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.3135, allocations: 22.31 kB / 0.6806 GB, free: 40.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002644/0.3138, allocations: 288.9 kB / 0.6809 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3138, allocations: 4 kB / 0.6809 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007729/0.3145, allocations: 268.6 kB / 0.6811 GB, free: 40.01 MB / 0.5573 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.001017/0.3156, allocations: 0.6137 MB / 0.6817 GB, free: 39.81 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.3171, allocations: 0.8612 MB / 0.6826 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3171, allocations: 1.312 kB / 0.6826 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.3177, allocations: 0.5005 MB / 0.683 GB, free: 39.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3181, allocations: 69.27 kB / 0.6831 GB, free: 39.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3198, allocations: 1.236 MB / 0.6843 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3201, allocations: 293.9 kB / 0.6846 GB, free: 38.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.3203, allocations: 83.69 kB / 0.6847 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of SimCode: time 1.372e-06/0.3203, allocations: 0 / 0.6847 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.01412/0.3344, allocations: 13.42 MB / 0.6978 GB, free: 33.42 MB / 0.5573 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.154852343723178] Failed to read output from testmodel.py, exit status != 0: 0.34187693893909454 0.348092865 0.067180036 Calling exit ...